Adding uwsgi ini
This commit is contained in:
parent
a389c18e0e
commit
bc70403859
2 changed files with 13 additions and 1 deletions
12
boop.ini
Normal file
12
boop.ini
Normal 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
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue