mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
[command] bench restart --web
This commit is contained in:
parent
f0b67b2ff8
commit
9fd73a738e
@ -12,11 +12,11 @@ def start(no_dev, concurrency):
|
||||
|
||||
|
||||
@click.command('restart')
|
||||
@click.option('--web-workers', is_flag=True, default=False)
|
||||
def restart(web_workers):
|
||||
@click.option('--web', is_flag=True, default=False)
|
||||
def restart(web):
|
||||
"Restart supervisor processes"
|
||||
from bench.utils import restart_supervisor_processes
|
||||
restart_supervisor_processes(bench_path='.', web_workers=web_workers)
|
||||
restart_supervisor_processes(bench_path='.', web_workers=web)
|
||||
|
||||
|
||||
@click.command('set-nginx-port')
|
||||
|
Loading…
Reference in New Issue
Block a user