index.rst 873 B

1234567891011121314151617181920212223242526272829303132
  1. .. _searx_utils:
  2. .. _toolboxing:
  3. ==================
  4. DevOps tooling box
  5. ==================
  6. In the folder :origin:`utils/` we maintain some tools useful for administrators
  7. and developers.
  8. .. toctree::
  9. :maxdepth: 2
  10. :caption: Contents
  11. searxng.sh
  12. lxc.sh
  13. Common command environments
  14. ===========================
  15. The scripts in our tooling box often dispose of common environments:
  16. .. _FORCE_TIMEOUT:
  17. ``FORCE_TIMEOUT`` : environment
  18. Sets timeout for interactive prompts. If you want to run a script in batch
  19. job, with defaults choices, set ``FORCE_TIMEOUT=0``. By example; to install a
  20. SearXNG server and nginx proxy on all containers of the :ref:`SearXNG suite
  21. <lxc-searxng.env>` use::
  22. sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/searxng.sh install all
  23. sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/searxng.sh install nginx