From f6442611ca7554de3fba32aed434de67a2562163 Mon Sep 17 00:00:00 2001 From: Filip Kobierski Date: Tue, 6 May 2025 20:52:41 +0200 Subject: [PATCH] contrib/openrc: use $command_user when checking for ownership loses adm group --- contrib/openrc/i2pd.openrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/openrc/i2pd.openrc b/contrib/openrc/i2pd.openrc index fa154703..41782533 100644 --- a/contrib/openrc/i2pd.openrc +++ b/contrib/openrc/i2pd.openrc @@ -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"