From b9000cf231b166bf0f098785188ad61319b7019b Mon Sep 17 00:00:00 2001 From: R4SAS I2P Date: Mon, 7 Feb 2022 19:19:14 +0000 Subject: [PATCH] i2pd: add service reload support Signed-off-by: R4SAS I2P --- net/i2pd/Makefile | 2 +- net/i2pd/files/i2pd.init | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net/i2pd/Makefile b/net/i2pd/Makefile index f9edb00ad..a28adbb61 100644 --- a/net/i2pd/Makefile +++ b/net/i2pd/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=i2pd PKG_VERSION:=2.40.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_PARALLEL:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/net/i2pd/files/i2pd.init b/net/i2pd/files/i2pd.init index abca8824e..b6a4de8a9 100755 --- a/net/i2pd/files/i2pd.init +++ b/net/i2pd/files/i2pd.init @@ -75,3 +75,7 @@ start_service() { config_load "i2pd" config_foreach start_instance "i2pd" } + +reload_service() { + procd_send_signal i2pd +}