aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-04-27 23:12:41 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-04-27 23:12:41 -0400
commitce69dbfb3967b3704253ad3719cba30c26f59e59 (patch)
tree76ad7c152a17568c6f14ea8e0872239fe61f60ea
parent697dc68cb029edf695cb158bc86c8318d57b1f79 (diff)
downloadpfsense-packages-ce69dbfb3967b3704253ad3719cba30c26f59e59.tar.gz
pfsense-packages-ce69dbfb3967b3704253ad3719cba30c26f59e59.tar.bz2
pfsense-packages-ce69dbfb3967b3704253ad3719cba30c26f59e59.zip
Restart varnish after syncing changes
-rw-r--r--config/varnish64/varnish.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc
index 27e26adf..464a3dc9 100644
--- a/config/varnish64/varnish.inc
+++ b/config/varnish64/varnish.inc
@@ -508,7 +508,7 @@ function varnish_do_xmlrpc_sync($sync_to_ip, $password) {
/* tell varnish to reload our settings on the destionation sync host. */
$method = 'pfsense.exec_php';
$execcmd = "require_once('/usr/local/pkg/varnish.inc');\n";
- $execcmd .= "sync_package_varnish();\n";
+ $execcmd .= "sync_package_varnish();\nvarnish_start();";
/* assemble xmlrpc payload */
$params = array(