index.rst 851 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. searxng.sh
  11. lxc.sh
  12. Common command environments
  13. ===========================
  14. The scripts in our tooling box often dispose of common environments:
  15. .. _FORCE_TIMEOUT:
  16. ``FORCE_TIMEOUT`` : environment
  17. Sets timeout for interactive prompts. If you want to run a script in batch
  18. job, with defaults choices, set ``FORCE_TIMEOUT=0``. By example; to install a
  19. SearXNG server and nginx proxy on all containers of the :ref:`SearXNG suite
  20. <lxc-searxng.env>` use::
  21. sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/searxng.sh install all
  22. sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/searxng.sh install nginx