From 72ba24b93b9b325fcca4f951415893f81f2dde64 Mon Sep 17 00:00:00 2001 From: Marc de Lima Lucio <68746600+marc-dll@users.noreply.github.com> Date: Thu, 22 Feb 2024 11:10:04 +0100 Subject: [PATCH] FIX: setup production command: supervisor conf not deployed the first time --- bench/config/production_setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bench/config/production_setup.py b/bench/config/production_setup.py index d110c36c1..c134305e4 100755 --- a/bench/config/production_setup.py +++ b/bench/config/production_setup.py @@ -48,6 +48,7 @@ def setup_production(user, bench_path=".", yes=False): generate_systemd_config(bench_path=bench_path, user=user, yes=yes) else: print("Setting Up supervisor...") + conf.update({"restart_supervisor_on_update": True}) # This conf is False the first time, it is set later check_supervisord_config(user=user) generate_supervisor_config(bench_path=bench_path, user=user, yes=yes)