Update cli.sh

pull/583/head
Mr Chen 12 months ago
parent 1e2a174e30
commit 339cdf662b
  1. 9
      cli.sh

@ -64,6 +64,11 @@ mw_start_debug2(){
gunicorn -b :7200 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 app:app
}
mw_start_debug3(){
gunicorn -c setting.py app:app
python3 task.py
}
mw_stop()
{
@ -96,4 +101,8 @@ case "$1" in
mw_stop
mw_start_debug2
;;
'debug3')
mw_stop
mw_start_debug3
;;
esac
Loading…
Cancel
Save