Browse Source

i2pd: add service reload support

Signed-off-by: R4SAS I2P <r4sas@i2pmail.org>
lilik-openwrt-22.03
R4SAS I2P 3 years ago
committed by Rosen Penev
parent
commit
b9000cf231
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      net/i2pd/Makefile
  2. +4
    -0
      net/i2pd/files/i2pd.init

+ 1
- 1
net/i2pd/Makefile View File

@ -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


+ 4
- 0
net/i2pd/files/i2pd.init View File

@ -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…
Cancel
Save