35 lines
539 B
INI
35 lines
539 B
INI
|
[buildout]
|
||
|
extends = base.cfg
|
||
|
develop = .
|
||
|
|
||
|
eggs =
|
||
|
searx
|
||
|
|
||
|
parts +=
|
||
|
pyscripts
|
||
|
supervisor
|
||
|
crontab_reboot
|
||
|
|
||
|
|
||
|
[pyscripts]
|
||
|
recipe = zc.recipe.egg:script
|
||
|
eggs = ${buildout:eggs}
|
||
|
interpreter = py
|
||
|
|
||
|
|
||
|
[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
|