aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-04-27 22:33:07 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-04-27 22:33:07 -0400
commit5ae8204dd33dbd4a773138eae2a8c93408b35476 (patch)
tree314df49934a27133780a876ca212c868526d5bf2
parentf8ebaa2eaf33977e6bfdf00cf7cef39dab84676d (diff)
downloadpfsense-packages-5ae8204dd33dbd4a773138eae2a8c93408b35476.tar.gz
pfsense-packages-5ae8204dd33dbd4a773138eae2a8c93408b35476.tar.bz2
pfsense-packages-5ae8204dd33dbd4a773138eae2a8c93408b35476.zip
Ensure rcd file exists
-rw-r--r--config/varnish64/varnish_backends.xml2
-rw-r--r--config/varnish64/varnish_custom_vcl.xml1
-rw-r--r--config/varnish64/varnish_lb_directors.xml2
-rw-r--r--config/varnish64/varnish_settings.xml1
-rw-r--r--config/varnish64/varnish_sync.xml2
5 files changed, 7 insertions, 1 deletions
diff --git a/config/varnish64/varnish_backends.xml b/config/varnish64/varnish_backends.xml
index e426d444..4fe4d294 100644
--- a/config/varnish64/varnish_backends.xml
+++ b/config/varnish64/varnish_backends.xml
@@ -208,10 +208,12 @@
</custom_php_command_before_form>
<custom_delete_php_command>
sync_package_varnish();
+ create_varnish_rcd_file();
varnish_start();
</custom_delete_php_command>
<custom_php_resync_config_command>
sync_package_varnish();
+ create_varnish_rcd_file();
varnish_start();
</custom_php_resync_config_command>
<custom_php_validation_command>
diff --git a/config/varnish64/varnish_custom_vcl.xml b/config/varnish64/varnish_custom_vcl.xml
index 0794d825..fcfb3736 100644
--- a/config/varnish64/varnish_custom_vcl.xml
+++ b/config/varnish64/varnish_custom_vcl.xml
@@ -126,6 +126,7 @@
</custom_php_validation_command>
<custom_php_resync_config_command>
sync_package_varnish();
+ create_varnish_rcd_file();
varnish_start();
</custom_php_resync_config_command>
</packagegui> \ No newline at end of file
diff --git a/config/varnish64/varnish_lb_directors.xml b/config/varnish64/varnish_lb_directors.xml
index 38431414..400f66b8 100644
--- a/config/varnish64/varnish_lb_directors.xml
+++ b/config/varnish64/varnish_lb_directors.xml
@@ -155,10 +155,12 @@
</custom_php_command_before_form>
<custom_delete_php_command>
sync_package_varnish();
+ create_varnish_rcd_file();
varnish_start();
</custom_delete_php_command>
<custom_php_resync_config_command>
sync_package_varnish();
+ create_varnish_rcd_file();
varnish_start();
</custom_php_resync_config_command>
<custom_php_validation_command>
diff --git a/config/varnish64/varnish_settings.xml b/config/varnish64/varnish_settings.xml
index 9e275117..55d236e1 100644
--- a/config/varnish64/varnish_settings.xml
+++ b/config/varnish64/varnish_settings.xml
@@ -116,6 +116,7 @@
</fields>
<custom_php_resync_config_command>
sync_package_varnish();
+ create_varnish_rcd_file();
varnish_start();
</custom_php_resync_config_command>
<custom_php_validation_command>
diff --git a/config/varnish64/varnish_sync.xml b/config/varnish64/varnish_sync.xml
index 1db739d4..4b8ff355 100644
--- a/config/varnish64/varnish_sync.xml
+++ b/config/varnish64/varnish_sync.xml
@@ -189,7 +189,7 @@
</field>
</fields>
<custom_php_resync_config_command>
- varnish_sync_on_changes();
+ varnish_sync_on_changes();
</custom_php_resync_config_command>
<custom_php_command_before_form>
unset($_POST['temp']);