aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorAustin English <austinenglish@gmail.com>2018-05-30 11:11:10 -0500
committerDoug Freed <dwfreed@mtu.edu>2018-05-30 12:11:10 -0400
commit6edf516a1fe0ad4f4e8738f9fdd1bf0bc7718361 (patch)
treed4df66770adeab9de4bedf4ea015e0d008621c32 /sh
parent7e56a49e23c810673b83e48eb9ca36229bb4016e (diff)
sh/supervise-daemon.sh: use start_stop_daemon_args if supervise_daemon_args is undefined
Diffstat (limited to 'sh')
-rw-r--r--sh/supervise-daemon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/supervise-daemon.sh b/sh/supervise-daemon.sh
index b600b9c6..80e0260c 100644
--- a/sh/supervise-daemon.sh
+++ b/sh/supervise-daemon.sh
@@ -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=$?