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
|
|
|
|
2020-02-04 12:13:17 +00:00
|
|
|
=======================
|
|
|
|
Tooling box ``utils/*``
|
|
|
|
=======================
|
2020-02-03 12:25:51 +00:00
|
|
|
|
2020-02-05 06:37:26 +00:00
|
|
|
In the folder :origin:`utils/` we maintain some tools useful for admins and
|
|
|
|
developers.
|
|
|
|
|
2020-02-03 12:25:51 +00:00
|
|
|
.. toctree::
|
2020-02-04 15:42:13 +00:00
|
|
|
:maxdepth: 2
|
|
|
|
:caption: Contents
|
2020-02-03 12:25:51 +00:00
|
|
|
|
|
|
|
searx.sh
|
|
|
|
filtron.sh
|
|
|
|
morty.sh
|
2020-03-30 16:47:01 +00:00
|
|
|
lxc.sh
|
2020-02-03 12:25:51 +00:00
|
|
|
|
2020-02-04 12:13:17 +00:00
|
|
|
.. _toolboxing common:
|
|
|
|
|
|
|
|
Common commands
|
|
|
|
===============
|
|
|
|
|
|
|
|
Scripts to maintain services often dispose of common commands and environments.
|
|
|
|
|
|
|
|
``shell``:
|
|
|
|
Opens a shell from the service user ``${SERVICE_USSR}``, very helpful for
|
|
|
|
troubleshooting.
|
|
|
|
|
|
|
|
``inspect service``:
|
|
|
|
Shows status and log of the service, most often you have a option to enable
|
|
|
|
more verbose debug logs. Very helpful for debugging, but be careful not to
|
|
|
|
enable debugging in a production environment!
|
|
|
|
|
|
|
|
.. _toolboxing setup:
|
|
|
|
|
|
|
|
Tooling box setup
|
|
|
|
=================
|
|
|
|
|
|
|
|
The main setup is done in the :origin:`.config.sh` (read also :ref:`makefile
|
|
|
|
setup`).
|
|
|
|
|
|
|
|
.. literalinclude:: ../../.config.sh
|
|
|
|
:language: bash
|