git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Pfeiffer <coding _ lirion.net> 2015-11-26 12:13:25 +0100
committerHarald Pfeiffer <coding _ lirion.net> 2015-11-26 12:13:25 +0100
commitef5bba0aebb815c17fed44867d1ddd2952e81c2b (patch)
treee6556cf490513233f081382f4062188530d5089f
parent8eb9c0b6b548ee685166ea82c69d5cd8502a0b3f (diff)
downloadinfinoted-init-ef5bba0aebb815c17fed44867d1ddd2952e81c2b.tar.bz2
Make infinoted shut up about its plugins.
-rwxr-xr-xinit.d/infinoted4
1 files changed, 3 insertions, 1 deletions
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
}