Browse Source

xinetd: fix xinetd reload problem

Signed-off-by: Helge Mader <ma@dev.tdt.de>
lilik-openwrt-22.03
Helge Mader 4 years ago
parent
commit
43813fe3c9
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      net/xinetd/Makefile
  2. +5
    -0
      net/xinetd/files/xinetd.init

+ 1
- 1
net/xinetd/Makefile View File

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


+ 5
- 0
net/xinetd/files/xinetd.init View File

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

Loading…
Cancel
Save