From e6d01471fe2a8eb8a15bb906d7c91c11805d1bef Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 15 Jun 2018 12:23:50 -0500 Subject: start-stop-daemon: add ability to log stdout or stderr to processes --- sh/start-stop-daemon.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sh') 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 \ -- cgit v1.2.3