diff --git a/cli.sh b/cli.sh index 14204b1d8..a06e18550 100755 --- a/cli.sh +++ b/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 \ No newline at end of file