summaryrefslogtreecommitdiff
blob: eb901676bd408859b9fe2ea67b27cc94801d7391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# 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'