i2pd: fix startup
i2pd reports:
missing/unreadable config file: /etc/i2pd/i2pd.conf
Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
(cherry picked from commit 4f42a7a95a
)
This commit is contained in:
parent
7bc80b5956
commit
1831941e73
2 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=i2pd
|
||||
PKG_VERSION:=2.35.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/PurpleI2P/i2pd/tar.gz/$(PKG_VERSION)?
|
||||
|
|
|
@ -43,6 +43,7 @@ i2pd_start() {
|
|||
## We need permissions
|
||||
touch "$PIDFILE"
|
||||
chown "$USER:adm" "$PIDFILE"
|
||||
chown "$USER:adm" "$CONFFILE"
|
||||
|
||||
procd_open_instance
|
||||
procd_set_param command "$PROG" --service --conf="$CONFFILE" --pidfile "$PIDFILE"
|
||||
|
|
Loading…
Reference in a new issue