aboutsummaryrefslogtreecommitdiffstats
path: root/security/xinetd
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2008-09-23 20:36:21 +0800
committersem <sem@FreeBSD.org>2008-09-23 20:36:21 +0800
commit30e3d92c6efbe5fb0f8433fbeeb5248d01e34b91 (patch)
tree7302b8bd39cdeed97f8f2e444384d7c0639b5f7c /security/xinetd
parenta968aaf07a1ac1e3cfe1292a4d3f3c79fb9d4cd1 (diff)
downloadfreebsd-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/Makefile2
-rw-r--r--security/xinetd/files/xinetd.in3
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"