[Fixed]-Restarting the Gunicorn after change in my code


You can restart gunicorn if you are in ubuntu:

sudo service restart gunicorn

As you have killed the process you need to start it:

sudo service gunicorn start


Read the documentation for Gunicorn

If you’d followed the tutorial this line shows how to restart your unicorn service…

gunicorn -w 4 your_app:app

Leave a comment