From 0252d3f29a493d834121df40f2e16298e20f949e Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sat, 4 Mar 2017 08:49:53 -0500 Subject: add i2p to pcr --- pcr/i2p/i2prouter.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pcr/i2p/i2prouter.service (limited to 'pcr/i2p/i2prouter.service') diff --git a/pcr/i2p/i2prouter.service b/pcr/i2p/i2prouter.service new file mode 100644 index 000000000..7c278c833 --- /dev/null +++ b/pcr/i2p/i2prouter.service @@ -0,0 +1,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 -- cgit v1.2.3