What is the correct way to leave gunicorn running?

前端 未结 9 2052
南方客
南方客 2020-12-23 13:48

I want to make a Flask+Nginx+Gunicorn deployment. I have Nginx setup and running and I run gunicorn as described in the docs:

gunicorn app:app
9条回答
  •  猫巷女王i
    2020-12-23 14:26

    I tried the systemd option and it worked fine, the link below has my full answer and has all the steps , to invoke your app as a gunicorn service.

    https://askubuntu.com/questions/930589/running-upstart-script-on-17-04/1010398#1010398

提交回复
热议问题