Merge pull request #12773 from TDT-AG/pr/20200710-xinetd
xinetd: start service in foreground for procd
This commit is contained in:
commit
a261a6e672
2 changed files with 4 additions and 3 deletions
|
@ -9,11 +9,13 @@ 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
|
||||
PKG_HASH:=bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3
|
||||
|
||||
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
|
||||
PKG_LICENSE:=xinetd
|
||||
PKG_LICENSE_FILES:=COPYRIGHT
|
||||
PKG_CPE_ID:=cpe:/a:xinetd:xinetd
|
||||
|
@ -27,7 +29,6 @@ define Package/xinetd
|
|||
CATEGORY:=Network
|
||||
TITLE:=A powerful and secure super-server
|
||||
URL:=https://github.com/xinetd-org
|
||||
PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
|
||||
endef
|
||||
|
||||
define Package/xinetd/description
|
||||
|
|
|
@ -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…
Reference in a new issue