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