Merge pull request #120 from Smana/fix_etcd_initd

etcd initd startup command fix
This commit is contained in:
Antoine Legrand 2016-01-30 22:42:13 +01:00
commit 6eff3f0fce

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
}