Create a pid file by default when starting xinetd (resolves #10342).

Signed-off-by: Stefan Agner <ste...@agner.ch>
Index: net/xinetd/files/xinetd.init
===================================================================
--- net/xinetd/files/xinetd.init	(Revision 28720)
+++ net/xinetd/files/xinetd.init	(Arbeitskopie)
@@ -9,7 +9,7 @@
 start() {
 	[ -f $DEFAULT ] && . $DEFAULT
 	[ -d $RUN_D ] || mkdir -p $RUN_D
-	xinetd $OPTIONS
+	xinetd -pidfile $PID_F $OPTIONS
 }
 
 stop() {
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to