diff options
author | sem <sem@FreeBSD.org> | 2008-09-23 20:36:21 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2008-09-23 20:36:21 +0800 |
commit | 30e3d92c6efbe5fb0f8433fbeeb5248d01e34b91 (patch) | |
tree | 7302b8bd39cdeed97f8f2e444384d7c0639b5f7c /security/xinetd | |
parent | a968aaf07a1ac1e3cfe1292a4d3f3c79fb9d4cd1 (diff) | |
download | freebsd-ports-gnome-30e3d92c6efbe5fb0f8433fbeeb5248d01e34b91.tar.gz freebsd-ports-gnome-30e3d92c6efbe5fb0f8433fbeeb5248d01e34b91.tar.zst freebsd-ports-gnome-30e3d92c6efbe5fb0f8433fbeeb5248d01e34b91.zip |
- Use pidfile for start/stop
Diffstat (limited to 'security/xinetd')
-rw-r--r-- | security/xinetd/Makefile | 2 | ||||
-rw-r--r-- | security/xinetd/files/xinetd.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/security/xinetd/Makefile b/security/xinetd/Makefile index 45d86fae8c2e..865386483573 100644 --- a/security/xinetd/Makefile +++ b/security/xinetd/Makefile @@ -7,7 +7,7 @@ PORTNAME= xinetd PORTVERSION= 2.3.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security ipv6 MASTER_SITES= http://www.xinetd.org/ diff --git a/security/xinetd/files/xinetd.in b/security/xinetd/files/xinetd.in index 25de8bfc4ed4..38bd8ffa92de 100644 --- a/security/xinetd/files/xinetd.in +++ b/security/xinetd/files/xinetd.in @@ -16,9 +16,10 @@ name=xinetd rcvar=`set_rcvar` command=%%PREFIX%%/sbin/xinetd > /dev/null 2>&1 +pidfile=/var/run/xinetd.pid xinetd_enable=${xinetd_enable:-"NO"} -xinetd_flags=${xinetd_flags:-"-f %%PREFIX%%/etc/xinetd.conf"} +xinetd_flags=${xinetd_flags:-"-f %%PREFIX%%/etc/xinetd.conf -pidfile ${pidfile}"} load_rc_config $name run_rc_command "$1" |