From 339cdf662b740e322312f677f215c69f9b1862a0 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 26 May 2024 13:55:51 +0800 Subject: [PATCH] Update cli.sh --- cli.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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