12 行
283 B
Plaintext
12 行
283 B
Plaintext
![]() |
#!/bin/ksh
|
||
|
|
||
|
# Note: This script goes in /etc/rc.d
|
||
|
|
||
|
daemon="/usr/local/bin/i2pd --daemon"
|
||
|
daemon_flags="--service --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.d --datadir=/var/lib/i2pd"
|
||
|
daemon_user="_i2pd"
|
||
|
|
||
|
. /etc/rc.d/rc.subr
|
||
|
|
||
|
rc_cmd $1
|