| 1 |
[uwsgi] |
| 2 |
# Who will run the code |
| 3 |
uid = bepasty |
| 4 |
gid = bepasty |
| 5 |
|
| 6 |
# disable logging for privacy |
| 7 |
#disable-logging = true |
| 8 |
|
| 9 |
autoload = false |
| 10 |
|
| 11 |
# Number of workers (usually CPU count) |
| 12 |
workers = 2 |
| 13 |
|
| 14 |
# The right granted on the created socket |
| 15 |
chmod-socket = 666 |
| 16 |
|
| 17 |
# Plugin to use and interpretor config |
| 18 |
single-interpreter = true |
| 19 |
master = true |
| 20 |
plugin = python3 |
| 21 |
enable-threads = true |
| 22 |
lazy-apps = true |
| 23 |
|
| 24 |
# Module to import |
| 25 |
module = bepasty.wsgi |
| 26 |
env = BEPASTY_CONFIG=/etc/bepasty.conf |
| 27 |
|
| 28 |
pythonpath = /usr/lib/python3/dist-packages/ |
| 29 |
buffer-size = 32768 |