Merge pull request #120 from Smana/fix_etcd_initd
etcd initd startup command fix
This commit is contained in:
commit
6eff3f0fce
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue