12345678910111213141516171819202122232425262728293031323334
  1. [buildout]
  2. extends = base.cfg
  3. develop = .
  4. eggs =
  5. searx
  6. parts +=
  7. pyscripts
  8. supervisor
  9. crontab_reboot
  10. [pyscripts]
  11. recipe = zc.recipe.egg:script
  12. eggs = ${buildout:eggs}
  13. interpreter = py
  14. [supervisor]
  15. recipe = collective.recipe.supervisor
  16. http-socket = unix
  17. user = searxer
  18. password = ohpleasedochangeme
  19. file = /tmp/supervisor.sock
  20. chmod = 0700
  21. programs =
  22. 50 searx ${buildout:bin-directory}/searx-run
  23. [crontab_reboot]
  24. recipe = z3c.recipe.usercrontab
  25. times = @reboot
  26. command = ${buildout:bin-directory}/supervisord