contrib/openrc: use $command_user when checking for ownership

loses adm group
This commit is contained in:
Filip Kobierski 2025-05-06 20:52:41 +02:00
parent d317e374e4
commit f6442611ca
No known key found for this signature in database
GPG key ID: 756535402AA9903A

View file

@ -31,8 +31,8 @@ start_pre() {
exit 1
fi
checkpath -f -o i2pd:adm $logfile
checkpath -f -o i2pd:adm $pidfile
checkpath -f -o $command_user $logfile
checkpath -f -o $command_user $pidfile
if [ -n "$DAEMON_OPTS" ]; then
command_args="$command_args $DAEMON_OPTS"