summaryrefslogtreecommitdiff
path: root/net-vpn/i2p/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
commitb284a3168fa91a038925d2ecf5e4791011ea5e7d (patch)
tree16fe44748708acacd909d4e2e160a09a7f6d936a /net-vpn/i2p/files
parent77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff)
gentoo resync : 18.11.2019
Diffstat (limited to 'net-vpn/i2p/files')
-rw-r--r--net-vpn/i2p/files/i2p.init8
1 files changed, 3 insertions, 5 deletions
diff --git a/net-vpn/i2p/files/i2p.init b/net-vpn/i2p/files/i2p.init
index bbc73b470053..eb901676bd40 100644
--- a/net-vpn/i2p/files/i2p.init
+++ b/net-vpn/i2p/files/i2p.init
@@ -6,14 +6,12 @@ depend() {
need net
}
-CONFIG_PATH="/var/lib/i2p/.i2p"
-INSTALL_PATH="/usr/share/i2p"
-WRAPPER_CONF="$INSTALL_PATH/wrapper.config"
+readonly WRAPPER_CONF="/usr/share/i2p/wrapper.config"
command=wrapper
-command_args="$WRAPPER_CONF wrapper.syslog.ident=i2p wrapper.logfile=$CONFIG_PATH/wrapper.log"
+command_args="$WRAPPER_CONF wrapper.syslog.ident=i2p"
command_background=true
command_progress=true
command_user=i2p
-pidfile="/var/run/i2p.pid"
+pidfile=/var/run/i2p.pid
retry='SIGTERM/20 SIGKILL/20'