diff --git a/net-im/tuwunel/files/tuwunel.init-r1 b/net-im/tuwunel/files/tuwunel.init-r1 index c760b1d021..95feeb17dc 100644 --- a/net-im/tuwunel/files/tuwunel.init-r1 +++ b/net-im/tuwunel/files/tuwunel.init-r1 @@ -14,16 +14,14 @@ export TUWUNEL_GROUP=${TUWUNEL_GROUP:-tuwunel} description="Tuwunel [matrix] homeserver" supervisor="supervise-daemon" command="/usr/bin/tuwunel" +command_args="-c ${TUWUNEL_CONFIG}" command_user="${TUWUNEL_USER}:${TUWUNEL_GROUP}" -pidfile="${TUWUNEL_PID_FILE}" output_log="${TUWUNEL_LOG_DIR}/tuwunel.log" error_log="${TUWUNEL_LOG_DIR}/tuwunel.err" required_files="${TUWUNEL_CONFIG}" -start_stop_daemon_args="${start_stop_daemon_args} -- -c ${TUWUNEL_CONFIG}" - depend() { need net }