etcd initd startup command fix

This commit is contained in:
Smaine Kahlouch 2016-01-30 22:31:41 +01:00
parent 6915278f65
commit 6358cf788f

View file

@ -46,8 +46,8 @@ do_status()
#
do_start()
{
start-stop-daemon --background --start --quiet --make-pidfile --pidfile $PID --user $DAEMON_USER --exec $DAEMON \
$DAEMON_OPTS \
start-stop-daemon --background --start --quiet --make-pidfile --pidfile $PID --user $DAEMON_USER --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
}