net-im/dendrite: Fix start-stop-daemon args

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
stkn committed 2023-05-09 17:00:32 +02:00
1 parent d717ea6fa8
commit 6ff7d5fd43
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ command_args="-config ${DENDRITE_CONFIG} -logtostderr"
pidfile="/run/${RC_SVCNAME}.pid"
command_background="true"
start_stop_daemon_args="--cd=\"${DENDRITE_DATA_DIR}\" --user=\"${DENDRITE_USER}\" --group=\"${DENDRITE_GROUP}\" --stdout ${DENDRITE_LOG_DIR}/dendrite.log --stderr ${DENDRITE_LOG_DIR}/dendrite.err"
start_stop_daemon_args="--chdir=\"${DENDRITE_DATA_DIR}\" --user=\"${DENDRITE_USER}\" --group=\"${DENDRITE_GROUP}\" --stdout ${DENDRITE_LOG_DIR}/dendrite.log --stderr ${DENDRITE_LOG_DIR}/dendrite.err"
start_pre() {
checkpath -d -o "${DENDRITE_USER}" -m750 "${DENDRITE_DATA_DIR}"