diff options
author | 2023-04-14 22:01:10 +0200 | |
---|---|---|
committer | 2023-05-20 10:21:46 +0100 | |
commit | 916696fbb950678c7b9dc06e4c7346fe0499f609 (patch) | |
tree | dcfe6d9198948082e041006330c3ebe3eddf179a /net-vpn/i2p/files | |
parent | net-vpn/i2p: add 2.1.0 (diff) | |
download | gentoo-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.init | 17 | ||||
-rw-r--r-- | net-vpn/i2p/files/1.7.0-i2p.service | 10 |
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 |