From 4f42a7a95ada0a3b4f82ad238759fd77e64e4227 Mon Sep 17 00:00:00 2001 From: Dirk Neukirchen Date: Wed, 3 Mar 2021 13:46:42 +0100 Subject: [PATCH] i2pd: fix startup i2pd reports: missing/unreadable config file: /etc/i2pd/i2pd.conf Signed-off-by: Dirk Neukirchen --- net/i2pd/Makefile | 2 +- net/i2pd/files/i2pd.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/i2pd/Makefile b/net/i2pd/Makefile index a16ba91509..745fcbe9c9 100644 --- a/net/i2pd/Makefile +++ b/net/i2pd/Makefile @@ -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)? diff --git a/net/i2pd/files/i2pd.init b/net/i2pd/files/i2pd.init index 4f8c75c58c..bfea047e71 100755 --- a/net/i2pd/files/i2pd.init +++ b/net/i2pd/files/i2pd.init @@ -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" -- 2.30.2