Skip to content
Browse files

Small changes to dev-null ouput

  • Loading branch information...
1 parent 2fbc1b1 commit 61f3874234de34ad8232b168e145c30d832f288e gamelinux committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 init.d/passivedns-debian
View
3 init.d/passivedns-debian
@@ -26,12 +26,13 @@ fi
case "$1" in
start)
echo -n "Starting $NAME ..."
- $DAEMON $ARGS 2>&1 &
+ $DAEMON $ARGS > /dev/null 2>&1
echo " done."
;;
stop)
echo -n "Stopping $NAME ..."
start-stop-daemon --oknodo --stop --quiet --pidfile=$PIDFILE --exec $DAEMON
+ rm -f $PIDFILE > /dev/null 2>&1
echo " done."
;;
restart)

0 comments on commit 61f3874

Please sign in to comment.
Something went wrong with that request. Please try again.