diff options
author | tharvik <tharvik@users.noreply.github.com> | 2018-01-31 15:06:06 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-11 19:38:26 +0100 |
commit | c5cd846a8c9f46d2480f93e612e6803d8d7947ac (patch) | |
tree | afe2da52f962fb20f8fc1c92fde389771abd4301 /net-vpn/i2p/files | |
parent | dev-db/postgresql: amd64 stable wrt bug #647246 (diff) | |
download | gentoo-c5cd846a8c9f46d2480f93e612e6803d8d7947ac.tar.gz gentoo-c5cd846a8c9f46d2480f93e612e6803d8d7947ac.tar.bz2 gentoo-c5cd846a8c9f46d2480f93e612e6803d8d7947ac.zip |
net-vpn/i2p: bump to 0.9.33
Closes: https://bugs.gentoo.org/645936
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-vpn/i2p/files')
-rw-r--r-- | net-vpn/i2p/files/i2p.init | 19 | ||||
-rw-r--r-- | net-vpn/i2p/files/i2p.service | 13 |
2 files changed, 32 insertions, 0 deletions
diff --git a/net-vpn/i2p/files/i2p.init b/net-vpn/i2p/files/i2p.init new file mode 100644 index 000000000000..bbc73b470053 --- /dev/null +++ b/net-vpn/i2p/files/i2p.init @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net +} + +CONFIG_PATH="/var/lib/i2p/.i2p" +INSTALL_PATH="/usr/share/i2p" +WRAPPER_CONF="$INSTALL_PATH/wrapper.config" + +command=wrapper +command_args="$WRAPPER_CONF wrapper.syslog.ident=i2p wrapper.logfile=$CONFIG_PATH/wrapper.log" +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/i2p.service b/net-vpn/i2p/files/i2p.service new file mode 100644 index 000000000000..ccbadbd4d167 --- /dev/null +++ b/net-vpn/i2p/files/i2p.service @@ -0,0 +1,13 @@ +[Unit] +Description=Invisible Internet Project +After=network.target + +[Service] +User=i2p +Type=forking +ExecReload=/usr/bin/i2prouter restart +ExecStart=/usr/bin/i2prouter start +ExecStop=/usr/bin/i2prouter stop + +[Install] +WantedBy=multi-user.target |