aboutsummaryrefslogtreecommitdiff
path: root/sh/start-stop-daemon.sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-06-15 12:23:50 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-06-15 12:23:50 -0500
commite6d01471fe2a8eb8a15bb906d7c91c11805d1bef (patch)
tree21a2e6e87509880772482470a747983346e3d3f7 /sh/start-stop-daemon.sh
parentd4501a9f06c807f87be04f128e535a74b370fdb4 (diff)
start-stop-daemon: add ability to log stdout or stderr to processes
Diffstat (limited to 'sh/start-stop-daemon.sh')
-rw-r--r--sh/start-stop-daemon.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/start-stop-daemon.sh b/sh/start-stop-daemon.sh
index 35c642c0..69666ff7 100644
--- a/sh/start-stop-daemon.sh
+++ b/sh/start-stop-daemon.sh
@@ -47,6 +47,8 @@ ssd_start()
${directory:+--chdir} $directory \
${output_log+--stdout} $output_log \
${error_log+--stderr} $error_log \
+ ${output_logger+--stdout-logger} \"$output_logger\" \
+ ${error_logger+--stderr-logger} \"$error_logger\" \
${procname:+--name} $procname \
${pidfile:+--pidfile} $pidfile \
${command_user+--user} $command_user \