diff options
-rwxr-xr-x | files/debian-initd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/files/debian-initd b/files/debian-initd index 24d40b87..0f353976 100755 --- a/files/debian-initd +++ b/files/debian-initd @@ -123,6 +123,8 @@ do_start() find /proc/net/xt_recent -name "fail2ban-*" -exec chown "$FAIL2BAN_USER" "{}" ";" fi + # $DAEMON_ARGS need to be expanded possibly with multiple or no options + # shellcheck disable=SC2086 start-stop-daemon --start --quiet --chuid "$FAIL2BAN_USER" --exec "$DAEMON" -- \ $DAEMON_ARGS start >/dev/null \ || return 2 |