Browse Source

etcd initd startup command fix

pull/120/head
Smaine Kahlouch 8 years ago
parent
commit
6358cf788f
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