www-apps/zitadel-bin: Set zitadel CWD on startup
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
@@ -15,7 +15,7 @@ command_args="start-from-init --config '${ZITADEL_CONFIG}' --steps '${ZITADEL_ST
|
||||
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
command_background="true"
|
||||
start_stop_daemon_args="--user=\"${ZITADEL_USER}\" --group=\"${ZITADEL_GROUP}\" --stdout ${ZITADEL_LOG_DIR}/zitadel.log --stderr ${ZITADEL_LOG_DIR}/zitadel.err"
|
||||
start_stop_daemon_args="--chdir=\"${ZITADEL_DATA_DIR}\" --user=\"${ZITADEL_USER}\" --group=\"${ZITADEL_GROUP}\" --stdout ${ZITADEL_LOG_DIR}/zitadel.log --stderr ${ZITADEL_LOG_DIR}/zitadel.err"
|
||||
|
||||
start_pre() {
|
||||
checkpath -f -o "${ZITADEL_USER}" -m600 "${ZITADEL_CONFIG}"
|
||||
|
||||
Reference in New Issue
Block a user