From ce69dbfb3967b3704253ad3719cba30c26f59e59 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 27 Apr 2010 23:12:41 -0400 Subject: Restart varnish after syncing changes --- config/varnish64/varnish.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.3