diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2002-07-11 18:08:01 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2002-07-11 18:08:01 +0000 |
commit | f3072600efeb57d75325cbc5d6c921edfdd29675 (patch) | |
tree | e1997462e898cecaae2917e4e3189a0dafc4ebe8 /mail/spamass-milter | |
parent | 4fee6cfc3cd109dec2d6c3b8f489322360784cb9 (diff) | |
download | ports-f3072600efeb57d75325cbc5d6c921edfdd29675.tar.gz ports-f3072600efeb57d75325cbc5d6c921edfdd29675.zip |
Send SIGHUP to sendmail when start or stop spamass-milter daemon.
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=62827
Diffstat (limited to 'mail/spamass-milter')
-rw-r--r-- | mail/spamass-milter/Makefile | 1 | ||||
-rw-r--r-- | mail/spamass-milter/files/spamass-milter.sh.dist | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile index 06310c44ea28..78058efeaab1 100644 --- a/mail/spamass-milter/Makefile +++ b/mail/spamass-milter/Makefile @@ -7,6 +7,7 @@ PORTNAME= spamass-milter PORTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://freesoftware.fsf.org/download/spamass-milt/ diff --git a/mail/spamass-milter/files/spamass-milter.sh.dist b/mail/spamass-milter/files/spamass-milter.sh.dist index 9147be9812ad..f1116fab1a8c 100644 --- a/mail/spamass-milter/files/spamass-milter.sh.dist +++ b/mail/spamass-milter/files/spamass-milter.sh.dist @@ -10,6 +10,8 @@ start) then "${DAEMON}" "${SOCKET}" & echo $! > "${PIDFILE}" + sleep 1 + kill -HUP `head -1 /var/run/sendmail.pid` echo -n ' spamass-milter' fi ;; @@ -19,6 +21,8 @@ stop) read -r pid junk < "${PIDFILE}" kill ${pid} rm -f "${SOCKET}" "${PIDFILE}" + sleep 1 + kill -HUP `head -1 /var/run/sendmail.pid` echo -n ' spamass-milter' fi ;; |