summaryrefslogtreecommitdiff
path: root/production.cfg
blob: ea40682d8ea13f37cc2da6ef5f2f80649b6bf3cd (plain)
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
30
31
32
33
34
[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