aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-20 17:24:21 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-20 17:24:21 -0500
commit99f38dbf4cf4d378f951a723b18160a1610cb8e2 (patch)
tree6859422fadd2723ff8119d94161f7053f972dfc9 /config/haproxy
parent72c968ff2389646b0ff3648bef03d9279c2e970b (diff)
downloadpfsense-packages-99f38dbf4cf4d378f951a723b18160a1610cb8e2.tar.gz
pfsense-packages-99f38dbf4cf4d378f951a723b18160a1610cb8e2.tar.bz2
pfsense-packages-99f38dbf4cf4d378f951a723b18160a1610cb8e2.zip
Move haproxy reload code inside function. Major doh to me.
Diffstat (limited to 'config/haproxy')
-rw-r--r--config/haproxy/haproxy.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc
index 97c5b5a1..31dd7ba5 100644
--- a/config/haproxy/haproxy.inc
+++ b/config/haproxy/haproxy.inc
@@ -300,7 +300,6 @@ function haproxy_do_xmlrpc_sync($sync_to_ip, $password) {
} else {
log_error("HAProxy XMLRPC sync successfully completed with {$url}:{$port}.");
}
-}
/* tell haproxy to reload our settings on the destionation sync host. */
$method = 'pfsense.exec_php';
@@ -331,5 +330,6 @@ function haproxy_do_xmlrpc_sync($sync_to_ip, $password) {
} else {
log_error("HAProxy XMLRPC reload data success with {$url}:{$port} (pfsense.exec_php).");
}
-
+}
+
?> \ No newline at end of file