diff options
author | skydrome | 2015-06-01 10:33:14 -0400 |
---|---|---|
committer | skydrome | 2015-06-01 10:33:14 -0400 |
commit | 4f80e83d25b3956f7d87e74f7fe053e6f4ade1a0 (patch) | |
tree | 01c7b0f1e7ce64a2fa9c0b939d2c8dce7763a0b3 /i2prouter.service | |
download | aur-4f80e83d25b3956f7d87e74f7fe053e6f4ade1a0.tar.gz |
Initial commit
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 |