2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

[Fix] Added option to force upgrade nginx config file

This commit is contained in:
shreyas 2016-05-24 11:03:32 +05:30
parent dc49355ecd
commit c50d788eea

View File

@ -15,10 +15,11 @@ def setup_sudoers(user):
@click.command('nginx') @click.command('nginx')
def setup_nginx(): @click.option('--force', help='Force regeneration of nginx config file', default=False, is_flag=True)
def setup_nginx(force=None):
"generate config for nginx" "generate config for nginx"
from bench.config.nginx import make_nginx_conf from bench.config.nginx import make_nginx_conf
make_nginx_conf(bench_path=".") make_nginx_conf(bench_path=".", force=force)
@click.command('supervisor') @click.command('supervisor')