Browse Source
Merge pull request #13494 from TDT-AG/pr/20200925-xinetd
xinetd: fix xinetd reload problem
lilik-openwrt-22.03
Florian Eckert
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
1 deletions
-
net/xinetd/Makefile
-
net/xinetd/files/xinetd.init
|
|
@ -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 |
|
|
|
|
|
@ -114,6 +114,11 @@ start_service() { |
|
|
|
procd_close_instance |
|
|
|
} |
|
|
|
|
|
|
|
reload_service() { |
|
|
|
procd_send_signal xinetd "*" QUIT |
|
|
|
start |
|
|
|
} |
|
|
|
|
|
|
|
service_triggers() { |
|
|
|
procd_add_reload_trigger "xinetd" |
|
|
|
} |