daemon has to log to file.

This commit is contained in:
Micha Glave
2026-02-08 16:48:00 +01:00
parent 94d6d08ee0
commit 090f74a6f8

View File

@@ -15,11 +15,12 @@ depend() {
: ${KANIDM_CUSTOM:=${KANIDM_WORK_DIR}/custom}
capabilities=CAP_NET_BIND_SERVICE
command="/usr/sbin/kanidmd"
command="/usr/bin/kanidmd"
command_args="--config-path ${KANIDM_CONF} server"
command_background="true"
command_user="${KANIDM_USER}:${KANIDM_GROUP}"
error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.err"
output_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
pidfile="/run/${RC_SVCNAME}.pid"
required_files="${KANIDM_CONF}"