i2pd: add service reload support
Signed-off-by: R4SAS I2P <r4sas@i2pmail.org>
(cherry picked from commit b9000cf231
)
This commit is contained in:
parent
938187fa2e
commit
c384dbb19b
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -75,3 +75,7 @@ start_service() {
|
|||
config_load "i2pd"
|
||||
config_foreach start_instance "i2pd"
|
||||
}
|
||||
|
||||
reload_service() {
|
||||
procd_send_signal i2pd
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue