start-stop-daemon: add ability to log stdout or stderr to processes

This commit is contained in:
William Hubbs
2018-06-15 12:23:50 -05:00
parent d4501a9f06
commit e6d01471fe
6 changed files with 99 additions and 6 deletions

View File

@@ -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 \