summaryrefslogtreecommitdiff
path: root/_sources/utils/index.rst.txt
blob: b570b07e60a2c53cdc7494591d3b6bf8f34753f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.. _searx_utils:
.. _toolboxing:

==================
DevOps tooling box
==================

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

.. toctree::
   :maxdepth: 2

   searxng.sh
   lxc.sh

Common command environments
===========================

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

.. _FORCE_TIMEOUT:

``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 :ref:`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