searxng/docs/utils/index.rst
Markus Heiser c9833ded9f [doc] update & fix documentation of the "SearXNG LXC suite"
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-05-21 18:12:39 +02:00

873 B

DevOps tooling box

In the folder utils/ we maintain some tools useful for administrators and developers.

searxng.sh lxc.sh

Common command environments

The scripts in our tooling box often dispose of common environments:

FORCE_TIMEOUT : environment

Sets timeout for interactive prompts. If you want to run a script in batch job, with defaults choices, set FORCE_TIMEOUT=0. By example; to install a SearXNG server and nginx proxy on all containers of the SearXNG suite <lxc-searxng.env> use:

sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/searxng.sh install all
sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/searxng.sh install nginx