xinetd: fix xinetd reload problem

Signed-off-by: Helge Mader <ma@dev.tdt.de>
This commit is contained in:
Helge Mader 2020-09-25 15:23:11 +02:00
parent ceafafc2cb
commit 43813fe3c9
2 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xinetd
PKG_VERSION:=2.3.15
PKG_RELEASE:=7
PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/xinetd-org/xinetd/archive

View File

@ -114,6 +114,11 @@ start_service() {
procd_close_instance
}
reload_service() {
procd_send_signal xinetd "*" QUIT
start
}
service_triggers() {
procd_add_reload_trigger "xinetd"
}