net-im/dendrite: Fix start-stop-daemon args
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user