Package: camo Version: 2.3.0+dfsg-2 Tags: patch X-Debbugs-CC: lfara...@debian.org
‘/etc/init.d/camo start’ was leaving camo’s stderr attached to the outside terminal. diff --git a/debian/changelog b/debian/changelog index 9a74aa3..59019b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +camo (2.3.0+dfsg-2) unstable; urgency=medium + + * /etc/init.d/camo: Redirect stderr as well as stdout. + + -- Anders Kaseorg <ande...@mit.edu> Sat, 19 Nov 2016 22:20:45 -0500 + camo (2.3.0+dfsg-1) unstable; urgency=medium [ Luke Faraone ] diff --git a/debian/init b/debian/init index bd16c7d..ccb7a55 100644 --- a/debian/init +++ b/debian/init @@ -51,10 +51,10 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started - start-stop-daemon --start --quiet --pidfile $PIDFILE -bm --exec $DAEMON --no-close -c nobody --test > /dev/null \ + start-stop-daemon --start --quiet --pidfile $PIDFILE -bm --exec $DAEMON --no-close -c nobody --test > /dev/null 2>&1 \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE -bm --no-close -c nobody --exec $DAEMON -- \ - $DAEMON_ARGS >> /var/log/camo/camo.log \ + $DAEMON_ARGS >> /var/log/camo/camo.log 2>&1 \ || return 2 # Add code here, if necessary, that waits for the process to be ready # to handle requests from services started subsequently which depend