1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Make rc.d script sends signals only to the parent daemon process to

fix a race condition.

Submitted by:	naddy (via private email)
This commit is contained in:
Ashish SHUKLA 2014-06-04 00:32:31 +00:00
parent 9fc1398a77
commit 5a2ce98c64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356419
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= opensmtpd
PORTVERSION= 201405202105
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.opensmtpd.org/archives/ \

View File

@ -18,6 +18,11 @@
. /etc/rc.subr
check_process()
{
/bin/pgrep -f 'smtpd: \[priv\]'
}
name="smtpd"
rcvar=smtpd_enable