Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/openrc/i2pd.openrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/sbin/openrc-run

pidfile="/var/run/i2pd/i2pd.pid"
pidfile="/run/i2pd/i2pd.pid"
logfile="/var/log/i2pd/i2pd.log"
mainconf="/etc/i2pd/i2pd.conf"
tunconf="/etc/i2pd/tunnels.conf"
Expand Down
4 changes: 2 additions & 2 deletions debian/i2pd.init
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DESC=i2pd # Introduce a short description here
NAME=i2pd # Introduce the short server's name here
DAEMON=/usr/bin/$NAME # Introduce the server's location here
DAEMON_OPTS="" # Arguments to run the daemon with
PIDFILE=/var/run/$NAME/$NAME.pid
PIDFILE=/run/$NAME/$NAME.pid
I2PCONF=/etc/$NAME/i2pd.conf
TUNCONF=/etc/$NAME/tunnels.conf
TUNDIR=/etc/$NAME/tunnels.conf.d
Expand All @@ -42,7 +42,7 @@ do_start()
return 2
fi

test -e /var/run/i2pd || install -m 755 -o i2pd -g i2pd -d /var/run/i2pd
test -e /run/i2pd || install -m 755 -o i2pd -g i2pd -d /run/i2pd
touch "$PIDFILE"
chown -f $USER:adm "$PIDFILE"

Expand Down