|
|
@ -11,9 +11,9 @@ RuntimeDirectoryMode=0700 |
|
|
|
LogsDirectory=i2pd |
|
|
|
LogsDirectory=i2pd |
|
|
|
LogsDirectoryMode=0700 |
|
|
|
LogsDirectoryMode=0700 |
|
|
|
Type=forking |
|
|
|
Type=forking |
|
|
|
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --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 --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service |
|
|
|
ExecReload=/bin/kill -HUP $MAINPID |
|
|
|
ExecReload=/bin/sh -c "kill -HUP $MAINPID" |
|
|
|
PIDFile=/var/run/i2pd/i2pd.pid |
|
|
|
PIDFile=/run/i2pd/i2pd.pid |
|
|
|
### Uncomment, if auto restart needed |
|
|
|
### Uncomment, if auto restart needed |
|
|
|
#Restart=on-failure |
|
|
|
#Restart=on-failure |
|
|
|
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ KillSignal=SIGQUIT |
|
|
|
LimitNOFILE=4096 |
|
|
|
LimitNOFILE=4096 |
|
|
|
# To enable write of coredump uncomment this |
|
|
|
# To enable write of coredump uncomment this |
|
|
|
#LimitCORE=infinity |
|
|
|
#LimitCORE=infinity |
|
|
|
PrivateDevices=yes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Install] |
|
|
|
[Install] |
|
|
|
WantedBy=multi-user.target |
|
|
|
WantedBy=multi-user.target |
|
|
|