uwsgi ini files
This commit is contained in:
parent
75b8362a0d
commit
99167414eb
20
uwsgi/apps-enabled/byceps_admin.ini
Normal file
20
uwsgi/apps-enabled/byceps_admin.ini
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[uwsgi]
|
||||||
|
callable=app
|
||||||
|
env=BYCEPS_CONFIG=/srv/byceps/config/"your_config.py"
|
||||||
|
venv=/srv/byceps/venv
|
||||||
|
chdir=/srv/byceps
|
||||||
|
cheaper=true
|
||||||
|
die-on-term=true
|
||||||
|
enable-threads=true
|
||||||
|
group="GROUP"
|
||||||
|
lazy-apps=true
|
||||||
|
master=true
|
||||||
|
need-app=true
|
||||||
|
plugin=python3
|
||||||
|
proc-name-spaced=byceps
|
||||||
|
protocol=uwsgi
|
||||||
|
single-interpreter=true
|
||||||
|
user="USER"
|
||||||
|
vacuum=true
|
||||||
|
worker-reload-mercy=5
|
||||||
|
wsgi-file=serve.py
|
||||||
20
uwsgi/apps-enabled/byceps_web.ini
Normal file
20
uwsgi/apps-enabled/byceps_web.ini
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[uwsgi]
|
||||||
|
callable=app
|
||||||
|
env=BYCEPS_CONFIG=/srv/byceps/sites/"your_site"/"your_config.py"
|
||||||
|
venv=/srv/byceps/venv
|
||||||
|
chdir=/srv/byceps
|
||||||
|
cheaper=true
|
||||||
|
die-on-term=true
|
||||||
|
enable-threads=true
|
||||||
|
group="GROUP"
|
||||||
|
lazy-apps=true
|
||||||
|
master=true
|
||||||
|
need-app=true
|
||||||
|
plugin=python3
|
||||||
|
proc-name-spaced=byceps
|
||||||
|
protocol=uwsgi
|
||||||
|
single-interpreter=true
|
||||||
|
user="USER"
|
||||||
|
vacuum=true
|
||||||
|
worker-reload-mercy=5
|
||||||
|
wsgi-file=serve.py
|
||||||
Loading…
x
Reference in New Issue
Block a user