From ef5bba0aebb815c17fed44867d1ddd2952e81c2b Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Thu, 26 Nov 2015 12:13:25 +0100 Subject: Make infinoted shut up about its plugins. --- init.d/infinoted | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.d/infinoted b/init.d/infinoted index 2600080..7bce861 100755 --- a/init.d/infinoted +++ b/init.d/infinoted @@ -26,6 +26,8 @@ # startup, so the LSB startup line might look a bit chaotic. # Unfortunately, same as the location of the PID file, this is # hardcoded. *claps* +# Workaround _with_ start-stop-daemon: Pipe around a bit involving +# logger. #------------------------------------------------------------------------- # Do NOT "set -e" @@ -71,7 +73,7 @@ do_start() start-stop-daemon -c $SCRIPTUSER --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon -c $SCRIPTUSER --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ - $DAEMON_ARGS \ + $DAEMON_ARGS < /dev/null 2>&1|logger 2>/dev/null\ || return 2 } -- cgit v1.2.3