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:
parent
620ee04ca8
commit
14a944467b
@ -128,6 +128,7 @@ def setup_nginx():
|
||||
def setup_supervisor():
|
||||
"generate config for supervisor"
|
||||
generate_config('supervisor', 'supervisor.conf')
|
||||
update_config({'restart_supervisor_on_update': True})
|
||||
|
||||
@click.command('auto-update')
|
||||
def setup_auto_update():
|
||||
|
@ -9,7 +9,7 @@ from distutils.spawn import find_executable
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
default_config = {
|
||||
'restart_supervisor_on_update': True,
|
||||
'restart_supervisor_on_update': False,
|
||||
'auto_update': True,
|
||||
'update_bench_on_update': True,
|
||||
'shallow_clone': True
|
||||
|
Loading…
Reference in New Issue
Block a user