diff options
author | mnag <mnag@FreeBSD.org> | 2006-01-12 20:38:27 +0000 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-01-12 20:38:27 +0000 |
commit | d73683c4962c91585479b23b12b71137e3e4ed32 (patch) | |
tree | abc876186d2f1c790fcba4fc083f4edd2d36a039 /mail | |
parent | b40c43943acdd2d7a86ebe2f3d7aab97776e526c (diff) | |
download | FreeBSD-ports-d73683c4962c91585479b23b12b71137e3e4ed32.zip FreeBSD-ports-d73683c4962c91585479b23b12b71137e3e4ed32.tar.gz |
Fix rc.d/postfix.sh restart adding pidfile and procname
Bump PORTREVISION
PR: 91721
Submitted by: NIIMI Satoshi <sa2c@sa2c.net>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix-current/Makefile | 1 | ||||
-rw-r--r-- | mail/postfix-current/files/postfix.sh.in | 6 | ||||
-rw-r--r-- | mail/postfix1/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix1/files/postfix.sh.in | 6 | ||||
-rw-r--r-- | mail/postfix21/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix21/files/postfix.sh.in | 6 |
6 files changed, 21 insertions, 2 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index e419611..cd35364 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -7,6 +7,7 @@ PORTNAME= postfix DISTVERSION= 2.3-20060103 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \ diff --git a/mail/postfix-current/files/postfix.sh.in b/mail/postfix-current/files/postfix.sh.in index 8424abb..6ef4b39 100644 --- a/mail/postfix-current/files/postfix.sh.in +++ b/mail/postfix-current/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 } diff --git a/mail/postfix1/Makefile b/mail/postfix1/Makefile index 0760677..1c87798 100644 --- a/mail/postfix1/Makefile +++ b/mail/postfix1/Makefile @@ -13,7 +13,7 @@ PORTNAME= postfix PORTVERSION= 1.1.13 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix1/files/postfix.sh.in b/mail/postfix1/files/postfix.sh.in index 8424abb..6ef4b39 100644 --- a/mail/postfix1/files/postfix.sh.in +++ b/mail/postfix1/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 } diff --git a/mail/postfix21/Makefile b/mail/postfix21/Makefile index 957d7ae..5777374 100644 --- a/mail/postfix21/Makefile +++ b/mail/postfix21/Makefile @@ -16,7 +16,7 @@ PORTNAME= postfix PORTVERSION= 2.1.6 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ diff --git a/mail/postfix21/files/postfix.sh.in b/mail/postfix21/files/postfix.sh.in index 8424abb..6ef4b39 100644 --- a/mail/postfix21/files/postfix.sh.in +++ b/mail/postfix21/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 } |