mirror of https://github.com/PurpleI2P/i2pd.git
Browse Source
systemd unit, debian patch fix, makefile last-dist added, package log&pid folder editedpull/700/head
orignal
8 years ago
committed by
GitHub
14 changed files with 69 additions and 19 deletions
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
This forder contain systemd unit files. |
||||
To use systemd daemon control, place files from this directory to debian folder. |
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
[Unit] |
||||
Description=I2P Router written in C++ |
||||
After=network.target |
||||
|
||||
[Service] |
||||
User=i2pd |
||||
Group=i2pd |
||||
Type=forking |
||||
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service |
||||
ExecReload=/bin/kill -HUP $MAINPID |
||||
PIDFile=/var/run/i2pd/i2pd.pid |
||||
### Uncomment, if auto restart needed |
||||
#Restart=on-failure |
||||
|
||||
### Use SIGINT for gracefull stop daemon. |
||||
# i2pd stops accepting new tunnels and waits ~10 min while old ones do not die. |
||||
KillSignal=SIGINT |
||||
TimeoutStopSec=10m |
||||
|
||||
# If you have problems with hunging i2pd, you can try enable this |
||||
#LimitNOFILE=4096 |
||||
PrivateDevices=yes |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
d /var/run/i2pd 0755 i2pd i2pd - - |
||||
d /var/log/i2pd 0755 i2pd i2pd - - |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
files |
||||
i2pd-dbg.substvars |
||||
i2pd-dbg/ |
||||
i2pd.postinst.debhelper |
||||
i2pd.postrm.debhelper |
||||
i2pd.prerm.debhelper |
||||
i2pd.substvars |
||||
i2pd/ |
||||
|
Loading…
Reference in new issue