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:
Clark Boylan 2016-10-06 11:43:43 -07:00
parent 39e8bb392c
commit d70a85b686
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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