i2pd: fix startup
authorDirk Neukirchen <plntyk.lede@plntyk.name>
Wed, 3 Mar 2021 12:46:42 +0000 (13:46 +0100)
committerDirk Neukirchen <plntyk.lede@plntyk.name>
Wed, 3 Mar 2021 12:51:51 +0000 (13:51 +0100)
i2pd reports:
missing/unreadable config file: /etc/i2pd/i2pd.conf

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
net/i2pd/Makefile
net/i2pd/files/i2pd.init

index a16ba91509cd4af82301a22ccfef9488b28847ab..745fcbe9c9b030726e8d379ae733706be37e7aad 100644 (file)
@@ -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)?
index 4f8c75c58c4fc60571ea436b0cb282d44b53b30c..bfea047e7140c7ea70f34458a2bda1da682a35b0 100755 (executable)
@@ -42,6 +42,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"