Merge branch 'dev' into enh-dns-autoconf

This commit is contained in:
Alexandre Aubin 2021-09-17 01:35:59 +02:00
commit 2a5269ddcd

View file

@ -430,7 +430,8 @@ class ConfigPanel:
if services_to_reload:
logger.info("Reloading services...")
for service in services_to_reload:
service = service.replace("__APP__", self.app)
if hasattr(self, "app"):
service = service.replace("__APP__", self.app)
service_reload_or_restart(service)
def _iterate(self, trigger=["option"]):