diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-03 13:25:51 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-03 13:25:51 +0100 |
commit | 94ac560dcc85e2e75d3b14706a65eb9488643eb4 (patch) | |
tree | 40ff812809c2b96964c58c3aa630e73a9e112d46 /utils | |
parent | e7401796f652c946f52faf12b1b7c871ceaa7211 (diff) | |
download | searxng-94ac560dcc85e2e75d3b14706a65eb9488643eb4.tar.gz searxng-94ac560dcc85e2e75d3b14706a65eb9488643eb4.zip |
doc: add descriptions of our tooling box in ./utils
Initial started with the scripts for searx, filtron and morty installations.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/filtron.sh | 1 | ||||
-rwxr-xr-x | utils/lib.sh | 5 | ||||
-rwxr-xr-x | utils/morty.sh | 1 | ||||
-rwxr-xr-x | utils/searx.sh | 1 |
4 files changed, 7 insertions, 1 deletions
diff --git a/utils/filtron.sh b/utils/filtron.sh index dd49a3d1e..2a68f1728 100755 --- a/utils/filtron.sh +++ b/utils/filtron.sh @@ -89,6 +89,7 @@ If needed, set PUBLIC_URL of your WEB service in the '${DOT_CONFIG#"$REPO_ROOT/" PUBLIC_URL : ${PUBLIC_URL} PUBLIC_HOST : ${PUBLIC_HOST} + SERVICE_USER : ${SERVICE_USER} EOF [ ! -z ${1+x} ] && echo -e "$1" diff --git a/utils/lib.sh b/utils/lib.sh index 818477fc3..78641cc0b 100755 --- a/utils/lib.sh +++ b/utils/lib.sh @@ -97,7 +97,10 @@ set_terminal_colors() { _BPurple='\e[1;35m' _BCyan='\e[1;36m' } -set_terminal_colors + +if [ ! -p /dev/stdout ]; then + set_terminal_colors +fi # reST # ---- diff --git a/utils/morty.sh b/utils/morty.sh index 4f689e2b7..be741c2a4 100755 --- a/utils/morty.sh +++ b/utils/morty.sh @@ -77,6 +77,7 @@ If needed, set the environment variable MORTY_LISTEN in the ${DOT_CONFIG#"$REPO_ROOT/"} file:: MORTY_LISTEN : ${MORTY_LISTEN} + SERVICE_USER : ${SERVICE_USER} To activate morty in searx, add result_proxy to your settings.yml:: diff --git a/utils/searx.sh b/utils/searx.sh index 204386fa8..ec4eaacce 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -104,6 +104,7 @@ If needed, set PUBLIC_URL of your WEB service in the '${DOT_CONFIG#"$REPO_ROOT/" PUBLIC_URL : ${PUBLIC_URL} PUBLIC_HOST : ${PUBLIC_HOST} SEARX_INSTANCE_NAME : ${SEARX_INSTANCE_NAME} + SERVICE_USER : ${SERVICE_USER} EOF [ ! -z ${1+x} ] && echo -e "$1" |