2020-02-03 12:25:51 +00:00
|
|
|
.. _searx_utils:
|
2020-02-04 12:13:17 +00:00
|
|
|
.. _toolboxing:
|
2020-02-03 12:25:51 +00:00
|
|
|
|
2022-06-14 08:02:50 +00:00
|
|
|
==================
|
|
|
|
DevOps tooling box
|
|
|
|
==================
|
2020-02-03 12:25:51 +00:00
|
|
|
|
2022-06-14 08:02:50 +00:00
|
|
|
In the folder :origin:`utils/` we maintain some tools useful for administrators
|
|
|
|
and developers.
|
2020-02-05 06:37:26 +00:00
|
|
|
|
2020-02-03 12:25:51 +00:00
|
|
|
.. toctree::
|
2020-02-04 15:42:13 +00:00
|
|
|
:maxdepth: 2
|
2020-02-03 12:25:51 +00:00
|
|
|
|
2022-06-14 08:02:50 +00:00
|
|
|
searxng.sh
|
2020-03-30 16:47:01 +00:00
|
|
|
lxc.sh
|
2020-02-03 12:25:51 +00:00
|
|
|
|
2022-06-14 08:02:50 +00:00
|
|
|
Common command environments
|
|
|
|
===========================
|
2020-02-04 12:13:17 +00:00
|
|
|
|
2022-06-14 08:02:50 +00:00
|
|
|
The scripts in our tooling box often dispose of common environments:
|
2020-02-04 12:13:17 +00:00
|
|
|
|
2023-05-21 16:12:39 +00:00
|
|
|
.. _FORCE_TIMEOUT:
|
|
|
|
|
2020-04-08 16:38:36 +00:00
|
|
|
``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
|
2022-05-27 16:43:14 +00:00
|
|
|
SearXNG server and nginx proxy on all containers of the :ref:`SearXNG suite
|
|
|
|
<lxc-searxng.env>` use::
|
2020-04-08 16:38:36 +00:00
|
|
|
|
2022-05-27 16:43:14 +00:00
|
|
|
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
|