Browse Source

Merge pull request #120 from Smana/fix_etcd_initd

etcd initd startup command fix
pull/124/head
Antoine Legrand 8 years ago
parent
commit
6eff3f0fce
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/etcd/templates/deb-etcd.initd.j2

4
roles/etcd/templates/deb-etcd.initd.j2

@ -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
}

Loading…
Cancel
Save