summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérian Rousset <tharvik@users.noreply.github.com>2023-04-14 22:01:10 +0200
committerSam James <sam@gentoo.org>2023-05-20 10:21:46 +0100
commit916696fbb950678c7b9dc06e4c7346fe0499f609 (patch)
treedcfe6d9198948082e041006330c3ebe3eddf179a /net-vpn/i2p/files
parentnet-vpn/i2p: add 2.1.0 (diff)
downloadgentoo-916696fbb950678c7b9dc06e4c7346fe0499f609.tar.gz
gentoo-916696fbb950678c7b9dc06e4c7346fe0499f609.tar.bz2
gentoo-916696fbb950678c7b9dc06e4c7346fe0499f609.zip
net-vpn/i2p: revbump 1.7.0-r1
Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/29290 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn/i2p/files')
-rw-r--r--net-vpn/i2p/files/1.7.0-i2p.init17
-rw-r--r--net-vpn/i2p/files/1.7.0-i2p.service10
2 files changed, 27 insertions, 0 deletions
diff --git a/net-vpn/i2p/files/1.7.0-i2p.init b/net-vpn/i2p/files/1.7.0-i2p.init
new file mode 100644
index 000000000000..d59899b899e9
--- /dev/null
+++ b/net-vpn/i2p/files/1.7.0-i2p.init
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+}
+
+readonly WRAPPER_CONF="/usr/share/i2p/wrapper.config"
+
+command=wrapper
+command_args="$WRAPPER_CONF wrapper.syslog.ident=i2p"
+command_background=true
+command_progress=true
+command_user=i2p
+pidfile=/var/run/i2p.pid
+retry='SIGTERM/20 SIGKILL/20'
diff --git a/net-vpn/i2p/files/1.7.0-i2p.service b/net-vpn/i2p/files/1.7.0-i2p.service
new file mode 100644
index 000000000000..87c218075a1c
--- /dev/null
+++ b/net-vpn/i2p/files/1.7.0-i2p.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Invisible Internet Project
+After=network.target
+
+[Service]
+User=i2p
+ExecStart=/usr/bin/wrapper /usr/share/i2p/wrapper.config wrapper.syslog.ident=i2p wrapper.logfile=/var/lib/i2p/.i2p/wrapper.log
+
+[Install]
+WantedBy=multi-user.target