mirror of
https://github.com/frappe/bench.git
synced 2025-01-23 07:08:23 +00:00
FIX: setup production command: supervisor conf not deployed the first time
This commit is contained in:
parent
bc942e6a8e
commit
72ba24b93b
@ -48,6 +48,7 @@ def setup_production(user, bench_path=".", yes=False):
|
|||||||
generate_systemd_config(bench_path=bench_path, user=user, yes=yes)
|
generate_systemd_config(bench_path=bench_path, user=user, yes=yes)
|
||||||
else:
|
else:
|
||||||
print("Setting Up supervisor...")
|
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)
|
check_supervisord_config(user=user)
|
||||||
generate_supervisor_config(bench_path=bench_path, user=user, yes=yes)
|
generate_supervisor_config(bench_path=bench_path, user=user, yes=yes)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user