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:
2015-02-18 10:39:34 +00:00
committed by Git OBS Bridge
parent 19468e40d2
commit f9f3980388
5 changed files with 91 additions and 8 deletions

View File

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