Created
October 30, 2018 21:00
-
-
Save chilic/0de337ca9add2e1c342b78e358acfea3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Gunicorn flask | |
After=network.target | |
[Service] | |
User=www-data | |
Group=www-data | |
WorkingDirectory=/home/app | |
Environment="PATH=/home/app/env/bin" | |
ExecStart=/home/app/env/bin/gunicorn --workers 4 --bind unix:/var/run/app.sock -m 007 app:app | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment