diff options
Diffstat (limited to 'i2prouter.service')
-rwxr-xr-x | i2prouter.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/i2prouter.service b/i2prouter.service new file mode 100755 index 000000000000..ce1da03bc441 --- /dev/null +++ b/i2prouter.service @@ -0,0 +1,20 @@ +[Unit] +Description=Invisible Internet Project +After=network.target +RequiresOverridable=tlsdate.service ntpd.service + +[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 |