Skip to content

Commit

Permalink
fix: No more using gunicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
WCY-dt committed Dec 17, 2024
1 parent b8d1d4c commit 159ec33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my-github-2024.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WorkingDirectory=/var/www/my-github-2024
Environment="PATH=/var/www/my-github-2024/venv/bin"
Environment="FLASK_ENV=production"
EnvironmentFile=/var/www/my-github-2024/.env
ExecStart=/var/www/my-github-2024/venv/bin/gunicorn --workers 5 --threads 200 --worker-class gthread --bind 0.0.0.0:5000 my-github-2024:app
ExecStart=/var/www/my-github-2024/venv/bin/python3 /var/www/my-github-2024/my-github-2024.py
Restart=on-failure

[Install]
Expand Down

0 comments on commit 159ec33

Please sign in to comment.