Update cli.sh

This commit is contained in:
Mr Chen
2024-05-26 13:55:51 +08:00
parent 1e2a174e30
commit 339cdf662b
+9
View File
@@ -64,6 +64,11 @@ mw_start_debug2(){
gunicorn -b :7200 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 app:app 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() mw_stop()
{ {
@@ -96,4 +101,8 @@ case "$1" in
mw_stop mw_stop
mw_start_debug2 mw_start_debug2
;; ;;
'debug3')
mw_stop
mw_start_debug3
;;
esac esac