script: add function to match nginx configurations

this should fix a common issue where mainsail/fluidd was installed with a more up2date nginx config which didn't match with a previously configured upstreams.conf.
this should also cover cases where the upstreams.conf is more up2date than the corresponding interface configs.
This commit is contained in:
th33xitus
2021-09-28 00:10:16 +02:00
parent 9cd27f7052
commit 6b74c59d15
2 changed files with 57 additions and 2 deletions

View File

@@ -266,6 +266,7 @@ update_mainsail(){
bb4u "mainsail"
status_msg "Updating Mainsail ..."
mainsail_setup
match_nginx_configs
symlink_webui_nginx_log "mainsail"
}
@@ -273,6 +274,7 @@ update_fluidd(){
bb4u "fluidd"
status_msg "Updating Fluidd ..."
fluidd_setup
match_nginx_configs
symlink_webui_nginx_log "fluidd"
}