xinetd: start service in foreground for procd

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>
This commit is contained in:
Florian Eckert 2020-07-10 08:05:41 +02:00
parent 3d9e9632d4
commit eb6cb75f9f
2 changed files with 2 additions and 2 deletions

View 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

View 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
}