mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-01 10:14:36 +02:00
contrib/openrc: use command_user instead of --chuid
This commit is contained in:
parent
eb516cd5a0
commit
d317e374e4
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@ tundir="/etc/i2pd/tunnels.conf.d"
|
||||||
|
|
||||||
command="/usr/bin/i2pd"
|
command="/usr/bin/i2pd"
|
||||||
command_args="--service --daemon --log=file --logfile=$logfile --conf=$mainconf --tunconf=$tunconf --tunnelsdir=$tundir --pidfile=$pidfile"
|
command_args="--service --daemon --log=file --logfile=$logfile --conf=$mainconf --tunconf=$tunconf --tunnelsdir=$tundir --pidfile=$pidfile"
|
||||||
|
command_user="i2pd"
|
||||||
required_dirs="/var/lib/i2pd"
|
required_dirs="/var/lib/i2pd"
|
||||||
required_files="$mainconf"
|
required_files="/etc/i2pd/i2pd.conf"
|
||||||
start_stop_daemon_args="--chuid i2pd"
|
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need mountall
|
need mountall
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue