i2pd/debian/i2pd.upstart

12 lines
343 B
Plaintext
Raw Normal View History

2014-10-26 01:42:35 +00:00
description "i2p client daemon"
start on runlevel [2345]
stop on runlevel [016] or unmounting-filesystem
# these can be overridden in /etc/init/i2pd.override
2016-01-20 00:00:00 +00:00
env I2PD_HOST="1.2.3.4"
env I2PD_PORT="4567"
env LOGFILE="/var/log/i2pd.log"
2014-10-26 01:42:35 +00:00
exec /usr/sbin/i2pd --daemon --log=file --logfile=$LOGFILE --service --host=$I2PD_HOST --port=$I2PD_PORT