mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +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:
parent
9fc1398a77
commit
5a2ce98c64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356419
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= opensmtpd
|
PORTNAME= opensmtpd
|
||||||
PORTVERSION= 201405202105
|
PORTVERSION= 201405202105
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.opensmtpd.org/archives/ \
|
MASTER_SITES= http://www.opensmtpd.org/archives/ \
|
||||||
|
@ -18,6 +18,11 @@
|
|||||||
|
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
|
||||||
|
check_process()
|
||||||
|
{
|
||||||
|
/bin/pgrep -f 'smtpd: \[priv\]'
|
||||||
|
}
|
||||||
|
|
||||||
name="smtpd"
|
name="smtpd"
|
||||||
rcvar=smtpd_enable
|
rcvar=smtpd_enable
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user