summaryrefslogtreecommitdiff
path: root/docs/utils
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-04-08 18:38:36 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-04-08 18:38:36 +0200
commitf693149cded4f783380f8f02154bd9288b72cdd5 (patch)
tree3b3809f5c667ab44e53bb200cca3ce959c0380dd /docs/utils
parentee39a098acb2386abd5382de5c9476cc4ffe2e03 (diff)
downloadsearxng-f693149cded4f783380f8f02154bd9288b72cdd5.tar.gz
searxng-f693149cded4f783380f8f02154bd9288b72cdd5.zip
Changes from the installation tests on (all) LXC containers.
Tested and fixed HTTP & uWSGI installation on: ubu1604 ubu1804 ubu1910 ubu2004 fedora31 archlinux Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/utils')
-rw-r--r--docs/utils/index.rst16
-rw-r--r--docs/utils/lxc.sh.rst6
2 files changed, 17 insertions, 5 deletions
diff --git a/docs/utils/index.rst b/docs/utils/index.rst
index 088586e43..13914af28 100644
--- a/docs/utils/index.rst
+++ b/docs/utils/index.rst
@@ -19,20 +19,28 @@ developers.
.. _toolboxing common:
-Common commands
-===============
+Common commands & environment
+=============================
Scripts to maintain services often dispose of common commands and environments.
-``shell``:
+``shell`` : command
Opens a shell from the service user ``${SERVICE_USSR}``, very helpful for
troubleshooting.
-``inspect service``:
+``inspect service`` : command
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!
+``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
+ reverse proxy for filtron on all containers of the :ref:`searx suite
+ <lxc-searx.env>` use ::
+
+ sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/filtron.sh apache install
+
.. _toolboxing setup:
Tooling box setup
diff --git a/docs/utils/lxc.sh.rst b/docs/utils/lxc.sh.rst
index fcddfb340..44ab79030 100644
--- a/docs/utils/lxc.sh.rst
+++ b/docs/utils/lxc.sh.rst
@@ -88,7 +88,11 @@ WEB-Browser::
[searx-fedora31] INFO: (eth0) filtron: http://n.n.n.18:4004/
[searx-archlinux] INFO: (eth0) filtron: http://n.n.n.12:4004/
-
+To install a reverse proxy for filtron and morty use::
+
+ sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/filtron.sh apache install
+ sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/morty.sh apache install
+
Running commands
================