cleanup init.d

This commit is contained in:
j 2011-02-23 13:41:43 +01:00
parent 207594c7cd
commit c907d1c9c8
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ do_start()
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $DAEMON_USER \
--exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $DAEMON_USER -startas $DAEMON \
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $DAEMON_USER --startas $DAEMON \
--make-pidfile --background --exec $DAEMON -- $DAEMON_ARGS \
|| return 2
}

View file

@ -50,7 +50,7 @@ do_start()
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $DAEMON_USER \
--exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $DAEMON_USER \
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $DAEMON_USER --startas $DAEMON \
--make-pidfile --background --exec $DAEMON -- $DAEMON_ARGS \
|| return 2
}