2014-05-10 11:54:15 +02:00
|
|
|
[uwsgi]
|
|
|
|
# Who will run the code
|
2014-05-10 12:16:53 +02:00
|
|
|
uid = searx
|
|
|
|
gid = searx
|
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
|
|
|
|
|
|
|
|
# Application base folder
|
|
|
|
base = /opt/searx
|
|
|
|
|
|
|
|
# Module to import
|
|
|
|
module = searx.webapp
|
|
|
|
|
|
|
|
# Virtualenv and python path
|
2014-05-10 12:59:23 +02:00
|
|
|
virtualenv = /opt/searx/
|
2014-05-10 11:54:15 +02:00
|
|
|
pythonpath = /opt/searx/
|
|
|
|
chdir = /opt/searx/searx/
|
|
|
|
|
|
|
|
# The variable holding flask application
|
|
|
|
callable = app
|