i2pd: add service reload support
Signed-off-by: R4SAS I2P <r4sas@i2pmail.org>
This commit is contained in:
parent
d7f42a4c58
commit
b9000cf231
2 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=i2pd
|
PKG_NAME:=i2pd
|
||||||
PKG_VERSION:=2.40.0
|
PKG_VERSION:=2.40.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
|
@ -75,3 +75,7 @@ start_service() {
|
||||||
config_load "i2pd"
|
config_load "i2pd"
|
||||||
config_foreach start_instance "i2pd"
|
config_foreach start_instance "i2pd"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reload_service() {
|
||||||
|
procd_send_signal i2pd
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue