Accepting request 286482 from network:ha-clustering:Factory
1 OBS-URL: https://build.opensuse.org/request/show/286482 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/haproxy?expand=0&rev=24
This commit is contained in:
14
haproxy.init
14
haproxy.init
@@ -205,14 +205,12 @@ case "$1" in
|
||||
rc_status -v
|
||||
;;
|
||||
reload|force-reload)
|
||||
## Like force-reload, but if daemon does not support
|
||||
## signaling, do nothing (!)
|
||||
|
||||
haproxy_check
|
||||
# If it supports signaling:
|
||||
echo -n "Reload service haproxy "
|
||||
$HAPROXY_BIN -p $HAPROXY_PID -D -f $HAPROXY_CONF -sf $(cat $HAPROXY_PID)
|
||||
rc_status -v
|
||||
if checkproc -p $HAPROXY_PID $HAPROXY_BIN; then
|
||||
haproxy_check
|
||||
echo -n "Reload service haproxy "
|
||||
$HAPROXY_BIN -p $HAPROXY_PID -D -f $HAPROXY_CONF -sf $(cat $HAPROXY_PID)
|
||||
rc_status -v
|
||||
fi
|
||||
;;
|
||||
status)
|
||||
echo -n "Checking for service haproxy "
|
||||
|
Reference in New Issue
Block a user