mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
Add Upstart job to debian packaging
This commit is contained in:
parent
ced4149679
commit
e768e33ddd
1 changed files with 10 additions and 0 deletions
10
debian/i2pd.upstart
vendored
Normal file
10
debian/i2pd.upstart
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
description "i2p client daemon"
|
||||||
|
|
||||||
|
start on runlevel [2345]
|
||||||
|
stop on runlevel [016] or unmounting-filesystem
|
||||||
|
|
||||||
|
# these can be overridden in /etc/init/i2pd.override
|
||||||
|
env I2P_HOST="1.2.3.4"
|
||||||
|
env I2P_PORT="4567"
|
||||||
|
|
||||||
|
exec /usr/sbin/i2pd --daemon=0 --log=1 --host=$I2P_HOST --port=$I2P_PORT
|
Loading…
Add table
Reference in a new issue