aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/haproxy/haproxy.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc
index e42f7460..a96e4bf1 100644
--- a/config/haproxy/haproxy.inc
+++ b/config/haproxy/haproxy.inc
@@ -71,11 +71,15 @@ haproxy_start () {
require_once("globals.inc");
require_once("functions.inc");
require_once("haproxy.inc");
- function haproxy_configure();
+ haproxy_configure();
?>
ENDOFF
}
+haproxy_restart_post() {
+ killall -HUP haproxy
+}
+
haproxy_stop_post () {
echo "Stopping haproxy."
killall haproxy