diff options
-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 |