mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-09 15:50:26 +03:00
add dinit service
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
d91d734b5c
commit
71bad23906
8
contrib/dinit/i2pd
Normal file
8
contrib/dinit/i2pd
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
type = bgprocess
|
||||||
|
run-as = i2pd
|
||||||
|
command = /usr/bin/i2pd --conf=/var/lib/i2pd/i2pd.conf --pidfile=/var/lib/i2pd/i2pd.pid --daemon --service
|
||||||
|
smooth-recovery = true
|
||||||
|
depends-on = ntpd
|
||||||
|
# uncomment if you want to use i2pd with yggdrasil
|
||||||
|
# depends-on = yggdrasil
|
||||||
|
pid-file = /var/lib/i2pd/i2pd.pid
|
Loading…
Reference in New Issue
Block a user