xinetd: fix xinetd reload problem
authorHelge Mader <ma@dev.tdt.de>
Fri, 25 Sep 2020 13:23:11 +0000 (15:23 +0200)
committerHelge Mader <ma@dev.tdt.de>
Mon, 28 Sep 2020 09:25:33 +0000 (11:25 +0200)
Signed-off-by: Helge Mader <ma@dev.tdt.de>
net/xinetd/Makefile
net/xinetd/files/xinetd.init

index 1adf4dae7ab35bff6d9459ddcfbcb6a296fa813e..f3896531707c9a78924829076eb520c71bc9cd31 100644 (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
index f91a251b5eea0deb9c1b724a0b68c2dca12461e7..188dcfcc6cfdc6d75b664cbcf6423c7d087dc522 100644 (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"
 }