xinetd: start service in foreground for procd 12773/head
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 10 Jul 2020 06:05:41 +0000 (08:05 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 10 Jul 2020 09:08:11 +0000 (11:08 +0200)
Since we use now procd for xinetd, we have to start the service with the
option `-dontfork` to make procd happy.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/xinetd/Makefile
net/xinetd/files/xinetd.init

index 6e983762616fa1cc95fbb7492b802a7db988ae01..1adf4dae7ab35bff6d9459ddcfbcb6a296fa813e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xinetd
 PKG_VERSION:=2.3.15
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/xinetd-org/xinetd/archive
index 51f4575949a0b2dde4a7f85ff6e59106cd2144cd..f91a251b5eea0deb9c1b724a0b68c2dca12461e7 100644 (file)
@@ -109,7 +109,7 @@ start_service() {
        generate_config
 
        procd_open_instance
-       procd_set_param command $PROG -f $GENERATED_CONF_FILE -pidfile $PIDFILE
+       procd_set_param command $PROG -dontfork -f $GENERATED_CONF_FILE -pidfile $PIDFILE
        procd_set_param respawn
        procd_close_instance
 }