Just use one gunicorn worker to save memory
This commit is contained in:
parent
21caa3f7a1
commit
55c01499dd
@ -7,7 +7,7 @@ User=thallada
|
|||||||
Group=www-data
|
Group=www-data
|
||||||
WorkingDirectory=/var/www/panic-shack/chat
|
WorkingDirectory=/var/www/panic-shack/chat
|
||||||
Environment="PATH=/home/thallada/.virtualenvs/minecraft-chat/bin"
|
Environment="PATH=/home/thallada/.virtualenvs/minecraft-chat/bin"
|
||||||
ExecStart=/home/thallada/.virtualenvs/minecraft-chat/bin/gunicorn --workers 3 --bind unix:minecraft-chat.sock -m 007 server:app --log-file /srv/minecraft-panic-shack/gunicorn.log
|
ExecStart=/home/thallada/.virtualenvs/minecraft-chat/bin/gunicorn --workers 1 --bind unix:minecraft-chat.sock -m 007 server:app --log-file /srv/minecraft-panic-shack/gunicorn.log
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user