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