Browse Source

add tunconf in systemctl service file

pull/1092/head
R4SAS 7 years ago
parent
commit
13d174c09c
  1. 4
      contrib/debian/i2pd.service

4
contrib/debian/i2pd.service vendored

@ -8,7 +8,7 @@ Group=i2pd
RuntimeDirectory=i2pd RuntimeDirectory=i2pd
RuntimeDirectoryMode=0700 RuntimeDirectoryMode=0700
Type=simple Type=simple
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/i2pd/i2pd.pid PIDFile=/var/run/i2pd/i2pd.pid
### Uncomment, if auto restart needed ### Uncomment, if auto restart needed
@ -19,7 +19,7 @@ PIDFile=/var/run/i2pd/i2pd.pid
KillSignal=SIGINT KillSignal=SIGINT
TimeoutStopSec=10m TimeoutStopSec=10m
# If you have problems with hunging i2pd, you can try enable this # If you have problems with hanging i2pd, you can try enable this
#LimitNOFILE=4096 #LimitNOFILE=4096
PrivateDevices=yes PrivateDevices=yes

Loading…
Cancel
Save