From 43813fe3c9544fda9d06a1e49e2a4b6d3f9ba0fb Mon Sep 17 00:00:00 2001 From: Helge Mader Date: Fri, 25 Sep 2020 15:23:11 +0200 Subject: [PATCH] xinetd: fix xinetd reload problem Signed-off-by: Helge Mader --- net/xinetd/Makefile | 2 +- net/xinetd/files/xinetd.init | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/net/xinetd/Makefile b/net/xinetd/Makefile index 1adf4dae7a..f389653170 100644 --- a/net/xinetd/Makefile +++ b/net/xinetd/Makefile @@ -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 diff --git a/net/xinetd/files/xinetd.init b/net/xinetd/files/xinetd.init index f91a251b5e..188dcfcc6c 100644 --- a/net/xinetd/files/xinetd.init +++ b/net/xinetd/files/xinetd.init @@ -114,6 +114,11 @@ start_service() { procd_close_instance } +reload_service() { + procd_send_signal xinetd "*" QUIT + start +} + service_triggers() { procd_add_reload_trigger "xinetd" } -- 2.30.2