Browse Source

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>
lilik-openwrt-22.03
Florian Eckert 4 years ago
parent
commit
eb6cb75f9f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/xinetd/Makefile
  2. +1
    -1
      net/xinetd/files/xinetd.init

+ 1
- 1
net/xinetd/Makefile 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


+ 1
- 1
net/xinetd/files/xinetd.init 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
}


Loading…
Cancel
Save