From f8d91d9cf1d54aefbf59a28e4d4977726d6100ea Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Wed, 25 May 2022 15:16:01 +0200 Subject: [PATCH] Fix daemon options in init script --- scripts/cc-metric-collector.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cc-metric-collector.init b/scripts/cc-metric-collector.init index 35fa965..acb82eb 100755 --- a/scripts/cc-metric-collector.init +++ b/scripts/cc-metric-collector.init @@ -75,7 +75,7 @@ case "$1" in fi # Start Daemon - start-stop-daemon --start -b --chdir "$WORK_DIR" --user "$CC_USER" -c "$CC_USER" --pidfile "$PID_FILE" --exec $DAEMON -- $DAEMON_OPTS + start-stop-daemon --start -b --chdir "$WORK_DIR" --user "$CC_USER" -c "$CC_USER" --pidfile "$PID_FILE" --exec $DAEMON -- $CC_OPTS return=$? if [ $return -eq 0 ] then