2014-05-10 11:54:15 +02:00
|
|
|
[uwsgi]
|
|
|
|
# Who will run the code
|
2017-05-01 15:47:20 +02:00
|
|
|
uid = __APP__
|
|
|
|
gid = __APP__
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# Number of workers
|
|
|
|
workers = 4
|
|
|
|
|
|
|
|
# The right granted on the created socket
|
|
|
|
chmod-socket = 666
|
|
|
|
|
|
|
|
# Plugin to use and interpretor config
|
|
|
|
single-interpreter = true
|
|
|
|
master = true
|
|
|
|
plugin = python
|
2018-06-28 18:12:07 +02:00
|
|
|
lazy-apps = true
|
|
|
|
enable-threads = true
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# Application base folder
|
2017-05-01 15:47:20 +02:00
|
|
|
base = __FINALPATH__
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# Module to import
|
2017-05-01 15:47:20 +02:00
|
|
|
module = __APP__.webapp
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# Virtualenv and python path
|
2017-05-01 15:47:20 +02:00
|
|
|
virtualenv = __FINALPATH__
|
|
|
|
pythonpath = __FINALPATH__
|
|
|
|
chdir = __FINALPATH__/searx/
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# The variable holding flask application
|
|
|
|
callable = app
|