mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:49:25 +08:00
Update cli.sh
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user