diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-04-27 22:33:07 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-04-27 22:33:07 -0400 |
commit | 5ae8204dd33dbd4a773138eae2a8c93408b35476 (patch) | |
tree | 314df49934a27133780a876ca212c868526d5bf2 | |
parent | f8ebaa2eaf33977e6bfdf00cf7cef39dab84676d (diff) | |
download | pfsense-packages-5ae8204dd33dbd4a773138eae2a8c93408b35476.tar.gz pfsense-packages-5ae8204dd33dbd4a773138eae2a8c93408b35476.tar.bz2 pfsense-packages-5ae8204dd33dbd4a773138eae2a8c93408b35476.zip |
Ensure rcd file exists
-rw-r--r-- | config/varnish64/varnish_backends.xml | 2 | ||||
-rw-r--r-- | config/varnish64/varnish_custom_vcl.xml | 1 | ||||
-rw-r--r-- | config/varnish64/varnish_lb_directors.xml | 2 | ||||
-rw-r--r-- | config/varnish64/varnish_settings.xml | 1 | ||||
-rw-r--r-- | config/varnish64/varnish_sync.xml | 2 |
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']); |