mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
[Fix] Added force option to supervisor config setup
This commit is contained in:
parent
9f18c0069f
commit
234781c01e
@ -22,10 +22,11 @@ def setup_nginx():
|
||||
|
||||
|
||||
@click.command('supervisor')
|
||||
def setup_supervisor():
|
||||
@click.option('--force', help='Force regeneration of supervisor config', is_flag=True, default=False)
|
||||
def setup_supervisor(force=None):
|
||||
"generate config for supervisor"
|
||||
from bench.config.supervisor import generate_supervisor_config
|
||||
generate_supervisor_config(bench_path=".")
|
||||
generate_supervisor_config(bench_path=".", force=force)
|
||||
|
||||
|
||||
@click.command('redis')
|
||||
|
Loading…
Reference in New Issue
Block a user