sh/supervise-daemon.sh: use start_stop_daemon_args if supervise_daemon_args is undefined

This commit is contained in:
Austin English
2018-05-30 11:11:10 -05:00
committed by Doug Freed
parent 7e56a49e23
commit 6edf516a1f
2 changed files with 4 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ supervise_start()
${respawn_period:+--respawn-period} $respawn_period \
${command_user+--user} $command_user \
${umask+--umask} $umask \
$supervise_daemon_args \
${supervise_daemon_args:-${start_stop_daemon_args}} \
$command \
-- $command_args $command_args_foreground
rc=$?