www-apps/zitadel-bin: Set zitadel CWD on startup

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
stkn committed 2023-09-03 15:34:12 +02:00
1 parent f9a98928a4
commit 79782e1b40
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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}"