Properly set pidfile for nodepoold
Nodepoold wants to know what its pidfile is too so we need to set that in the init scripts after we set DAEMON_ARGS. Without this it will fallback to its default which causes problems when running more than one nodepoold process. Change-Id: I5cc73542ae2499f13fadcfad8f692f5123f62630
This commit is contained in:
parent
39e8bb392c
commit
d70a85b686
@ -49,7 +49,7 @@ do_start()
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON --test > /dev/null \
|
||||
|| return 1
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON -- \
|
||||
$DAEMON_ARGS \
|
||||
$DAEMON_ARGS -p $PIDFILE \
|
||||
|| return 2
|
||||
# Add code here, if necessary, that waits for the process to be ready
|
||||
# to handle requests from services started subsequently which depend
|
||||
|
@ -49,7 +49,7 @@ do_start()
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON --test > /dev/null \
|
||||
|| return 1
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON -- \
|
||||
$DAEMON_ARGS \
|
||||
$DAEMON_ARGS -p $PIDFILE \
|
||||
|| return 2
|
||||
# Add code here, if necessary, that waits for the process to be ready
|
||||
# to handle requests from services started subsequently which depend
|
||||
|
@ -49,7 +49,7 @@ do_start()
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON --test > /dev/null \
|
||||
|| return 1
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE -c $USER --exec $DAEMON -- \
|
||||
$DAEMON_ARGS \
|
||||
$DAEMON_ARGS -p $PIDFILE \
|
||||
|| return 2
|
||||
# Add code here, if necessary, that waits for the process to be ready
|
||||
# to handle requests from services started subsequently which depend
|
||||
|
Loading…
Reference in New Issue
Block a user