Merge pull request #120 from Smana/fix_etcd_initd

etcd initd startup command fix
pull/124/head
Antoine Legrand 2016-01-30 22:42:13 +01:00
commit 6eff3f0fce
1 changed files with 2 additions and 2 deletions

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
}