production.cfg 585B

123456789101112131415161718192021222324252627282930313233343536
  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. entry-points =
  15. searx-run=searx.webapp:run
  16. [supervisor]
  17. recipe = collective.recipe.supervisor
  18. http-socket = unix
  19. user = searxer
  20. password = ohpleasedochangeme
  21. file = /tmp/supervisor.sock
  22. chmod = 0700
  23. programs =
  24. 50 searx ${buildout:bin-directory}/searx-run
  25. [crontab_reboot]
  26. recipe = z3c.recipe.usercrontab
  27. times = @reboot
  28. command = ${buildout:bin-directory}/supervisord