Adding uwsgi ini

This commit is contained in:
Siina Mashek 2022-11-20 23:47:47 +02:00
parent a389c18e0e
commit bc70403859
2 changed files with 13 additions and 1 deletions

12
boop.ini Normal file
View file

@ -0,0 +1,12 @@
[uwsgi]
wsgi-file = fhost.py
callable = app
master = true
processes = 5
socket = boop.icu.sock
chmod-socket = 666
vacuum = true
die-on-term = true

View file

@ -6,7 +6,7 @@ After=network.target
User=boop User=boop
Group=http Group=http
WorkingDirectory=/opt/boop WorkingDirectory=/opt/boop
ExecStart=/opt/boop/.local/bin/uwsgi --ini /opt/boop/boop.icu.ini --enable-threads ExecStart=/opt/boop/.local/bin/uwsgi --ini /opt/boop/boop.ini --enable-threads
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target