mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-16 00:12:43 +00:00
12 lines
343 B
Plaintext
12 lines
343 B
Plaintext
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 I2PD_HOST="1.2.3.4"
|
|
env I2PD_PORT="4567"
|
|
env LOGFILE="/var/log/i2pd.log"
|
|
|
|
exec /usr/sbin/i2pd --daemon --log=file --logfile=$LOGFILE --service --host=$I2PD_HOST --port=$I2PD_PORT
|