blob: 7c278c8335966a0e3d7f3733fc8602274c7ca727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Invisible Internet Project
After=network.target
[Service]
Type=forking
User=i2p
PIDFile=/run/i2p/i2p.pid
Environment=WRAPPER_CONF=/opt/i2p/wrapper.config
ExecStart=/usr/bin/java-service-wrapper ${WRAPPER_CONF} \
wrapper.name=i2prouter wrapper.syslog.ident=i2prouter \
wrapper.daemonize=TRUE
SendSIGKILL=no
ExecReload=/bin/kill -USR1 $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
SuccessExitStatus=0 2 3
[Install]
WantedBy=multi-user.target
|