2014-01-12 12:40:27 +01:00
|
|
|
[buildout]
|
|
|
|
extends = base.cfg
|
|
|
|
develop = .
|
|
|
|
|
|
|
|
eggs =
|
|
|
|
searx
|
|
|
|
|
|
|
|
parts +=
|
|
|
|
pyscripts
|
2014-01-15 21:18:11 +01:00
|
|
|
supervisor
|
|
|
|
crontab_reboot
|
2014-01-12 12:40:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
[pyscripts]
|
|
|
|
recipe = zc.recipe.egg:script
|
|
|
|
eggs = ${buildout:eggs}
|
|
|
|
interpreter = py
|
|
|
|
entry-points =
|
|
|
|
searx-run=searx.webapp:run
|
2014-01-15 21:18:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
[supervisor]
|
|
|
|
recipe = collective.recipe.supervisor
|
|
|
|
http-socket = unix
|
|
|
|
user = searxer
|
|
|
|
password = ohpleasedochangeme
|
|
|
|
file = /tmp/supervisor.sock
|
|
|
|
chmod = 0700
|
|
|
|
programs =
|
|
|
|
50 searx ${buildout:bin-directory}/searx-run
|
|
|
|
|
|
|
|
|
|
|
|
[crontab_reboot]
|
|
|
|
recipe = z3c.recipe.usercrontab
|
|
|
|
times = @reboot
|
|
|
|
command = ${buildout:bin-directory}/supervisord
|