mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-01 10:14:36 +02:00
contrib/openrc: use $command_user when checking for ownership
loses adm group
This commit is contained in:
parent
d317e374e4
commit
f6442611ca
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ start_pre() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
checkpath -f -o i2pd:adm $logfile
|
checkpath -f -o $command_user $logfile
|
||||||
checkpath -f -o i2pd:adm $pidfile
|
checkpath -f -o $command_user $pidfile
|
||||||
|
|
||||||
if [ -n "$DAEMON_OPTS" ]; then
|
if [ -n "$DAEMON_OPTS" ]; then
|
||||||
command_args="$command_args $DAEMON_OPTS"
|
command_args="$command_args $DAEMON_OPTS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue