DEV Community 👩‍💻👨‍💻

Discussion on: Deploy Flask The Easy Way With Gunicorn and Nginx!

 
brandonwallace profile image
brandon_wallace Author • Edited on

Unfortunately, this line in the myproject.service file was wrapped due to the formatting. I added a backslash to the line to resolve the issue. Now it will read as one long line.

ExecStart=/var/www/myproject/.venv/bin/gunicorn --workers 3 --bind unix:/var/www/myproject/myproject.sock wsgi:app
Enter fullscreen mode Exit fullscreen mode

Thanks for letting people know about the Environment="PATH=...." issue. I did not need that variable.