2020年7月18日 星期六

背景執行 gunicorn

安裝
sudo pip install gunicorn

背景執行
sudo gunicorn -w 1 -b 0.0.0.0:80 run:app --daemon

結束
查PID
ps -ef | grep gunicorn

sudo kill -9 12705




沒有留言:

張貼留言