diff --git a/debian/dump1090-mr.init b/debian/dump1090-mr.init index bf526b3..514068f 100644 --- a/debian/dump1090-mr.init +++ b/debian/dump1090-mr.init @@ -108,7 +108,7 @@ do_start() if [ "x$START_DUMP1090" != "xyes" ]; then log_warning_msg "Not starting $NAME daemon, disabled via /etc/default/$NAME" - return 0 + return 2 fi start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ @@ -140,7 +140,7 @@ do_stop() case "$1" in start) - [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC:" "$NAME" + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; @@ -148,7 +148,7 @@ case "$1" in esac ;; stop) - [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC:" "$NAME" + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;