aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix27
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix27')
-rw-r--r--mail/postfix27/Makefile2
-rw-r--r--mail/postfix27/files/postfix.sh.in6
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile
index b8c05f737602..d0e0c74cfd39 100644
--- a/mail/postfix27/Makefile
+++ b/mail/postfix27/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix27/files/postfix.sh.in b/mail/postfix27/files/postfix.sh.in
index 8424abbe123b..6ef4b39c77e1 100644
--- a/mail/postfix27/files/postfix.sh.in
+++ b/mail/postfix27/files/postfix.sh.in
@@ -14,6 +14,8 @@
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
postfix_enable="${postfix_enable-NO}"
+postfix_pidfile="${postfix_pidfile:-/var/spool/postfix/pid/master.pid}"
+postfix_procname="${postfix_procname:-%%PREFIX%%/libexec/postfix/master}"
. %%RC_SUBR%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}