diff options
author | ashish <ashish@FreeBSD.org> | 2014-06-04 08:30:49 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2014-06-04 08:30:49 +0800 |
commit | 74f8bd4a724b83e290c4073cfadc9e417be36161 (patch) | |
tree | 54bab288a29c910fa35cd11984b1a3e48196874a /mail/opensmtpd | |
parent | 6ad0578a26c3c7b245ea98917dcad232a4f509f5 (diff) | |
download | freebsd-ports-gnome-74f8bd4a724b83e290c4073cfadc9e417be36161.tar.gz freebsd-ports-gnome-74f8bd4a724b83e290c4073cfadc9e417be36161.tar.zst freebsd-ports-gnome-74f8bd4a724b83e290c4073cfadc9e417be36161.zip |
- Make rc.d script send signals only to the parent daemon process to
fix a race condition.
Submitted by: naddy (via private email)
Diffstat (limited to 'mail/opensmtpd')
-rw-r--r-- | mail/opensmtpd/Makefile | 1 | ||||
-rw-r--r-- | mail/opensmtpd/files/smtpd.in | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/opensmtpd/Makefile b/mail/opensmtpd/Makefile index 3c9be9b4c4ec..ebb031fd3cc5 100644 --- a/mail/opensmtpd/Makefile +++ b/mail/opensmtpd/Makefile @@ -3,6 +3,7 @@ PORTNAME= opensmtpd PORTVERSION= 5.4.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://www.opensmtpd.org/archives/ \ diff --git a/mail/opensmtpd/files/smtpd.in b/mail/opensmtpd/files/smtpd.in index ddb3fedae6f9..63e31a426b19 100644 --- a/mail/opensmtpd/files/smtpd.in +++ b/mail/opensmtpd/files/smtpd.in @@ -18,6 +18,11 @@ . /etc/rc.subr +check_process() +{ + /bin/pgrep -f 'smtpd: \[priv\]' +} + name="smtpd" rcvar=smtpd_enable |