зеркало из https://github.com/microsoft/statsd.git
Merge pull request #123 from fredj/debian-pull
debian/statsd.init: fix the start-stop-daemon --test line.
This commit is contained in:
Коммит
8f66571e44
|
@ -48,7 +48,7 @@ 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 --exec $DAEMON --test > /dev/null \
|
||||
start-stop-daemon --start --quiet -m --pidfile $PIDFILE --startas $DAEMON --background --test > /dev/null \
|
||||
|| return 1
|
||||
start-stop-daemon --start --quiet -m --pidfile $PIDFILE --startas $DAEMON --background -- \
|
||||
$DAEMON_ARGS > /dev/null 2> /var/log/$NAME-stderr.log \
|
||||
|
|
Загрузка…
Ссылка в новой задаче