2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

enable supervisor restart on update after config generation

This commit is contained in:
Pratik Vyas 2014-07-17 15:46:17 +05:30
parent 620ee04ca8
commit 14a944467b
2 changed files with 2 additions and 1 deletions

View File

@ -128,6 +128,7 @@ def setup_nginx():
def setup_supervisor(): def setup_supervisor():
"generate config for supervisor" "generate config for supervisor"
generate_config('supervisor', 'supervisor.conf') generate_config('supervisor', 'supervisor.conf')
update_config({'restart_supervisor_on_update': True})
@click.command('auto-update') @click.command('auto-update')
def setup_auto_update(): def setup_auto_update():

View File

@ -9,7 +9,7 @@ from distutils.spawn import find_executable
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
default_config = { default_config = {
'restart_supervisor_on_update': True, 'restart_supervisor_on_update': False,
'auto_update': True, 'auto_update': True,
'update_bench_on_update': True, 'update_bench_on_update': True,
'shallow_clone': True 'shallow_clone': True