From fd670d27568cb157a5a0620662309cea525a26f2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 26 Feb 2015 13:42:47 +0000 Subject: procd: add support for relaying daemon stdio to syslog Procd enabled init scripts can now specify: procd_set_param stdout 1 procd_set_param stderr 1 ... to relay their respective standard IO streams to the system log. Signed-off-by: Jo-Philipp Wich SVN-Revision: 44547 --- package/system/procd/files/procd.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/system/procd/files') diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index be1d888a19..78352c0b76 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -143,6 +143,9 @@ _procd_set_param() { user) json_add_string "$type" "$1" ;; + stdout|stderr) + json_add_boolean "$type" "$1" + ;; esac } -- cgit v1.2.3