diff options
| author | asciimoo <asciimoo@gmail.com> | 2014-01-16 17:44:57 +0100 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2014-01-16 17:44:57 +0100 |
| commit | ad72c16050932ac5c71e27e4199582b5de38b561 (patch) | |
| tree | 6c879c3d59007b88e0ca1b7feacb651106b04b4a /production.cfg | |
| parent | 688818bc34ad37f546f91cd4e6cc9bbeaaf89990 (diff) | |
| parent | d6949d86a9f8bcbcac0dbc84631b4b8b4e0678dd (diff) | |
Merge branch 'master' of github.com:asciimoo/searx
Diffstat (limited to 'production.cfg')
| -rw-r--r-- | production.cfg | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/production.cfg b/production.cfg index c2a4f5a8d..b290c1a62 100644 --- a/production.cfg +++ b/production.cfg @@ -7,6 +7,8 @@ eggs = parts += pyscripts + supervisor + crontab_reboot [pyscripts] @@ -15,3 +17,20 @@ eggs = ${buildout:eggs} interpreter = py entry-points = searx-run=searx.webapp:run + + +[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 |