diff --git a/bench/bench.py b/bench/bench.py index f359be7cd..655693e29 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -138,9 +138,9 @@ def reload(self, web=False, supervisor=True, systemd=True): if conf.get("developer_mode"): restart_process_manager(bench_path=self.name, web_workers=web) - if supervisor and conf.get("restart_supervisor_on_update"): + if supervisor or conf.get("restart_supervisor_on_update"): restart_supervisor_processes(bench_path=self.name, web_workers=web) - if systemd and conf.get("restart_systemd_on_update"): + if systemd or conf.get("restart_systemd_on_update"): restart_systemd_processes(bench_path=self.name, web_workers=web) def get_installed_apps(self) -> List: