diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-07-30 16:25:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-30 16:25:32 +0200 |
| commit | ededaab807a22abdd69a7c802cda3bb256d6ab51 (patch) | |
| tree | 9e27e5e30c698618b0a828f0e31cf85df79627ae /utils/searx.sh | |
| parent | 645c2a2ca1cf40ab9429366ac70c69d1ac8fd004 (diff) | |
| parent | bded8750d5b4ae743dd96b3a814a78da66ab4a02 (diff) | |
Merge pull request #1589 from return42/searxng-install-additions
[mod] fix minor leftovers from PR #1332
Diffstat (limited to 'utils/searx.sh')
| -rwxr-xr-x | utils/searx.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/searx.sh b/utils/searx.sh index 2f5e98c8e..5473c11c4 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -4,11 +4,15 @@ # shellcheck source=utils/lib.sh source "$(dirname "${BASH_SOURCE[0]}")/lib.sh" +# shellcheck source=utils/brand.env +source "${REPO_ROOT}/utils/brand.env" # ---------------------------------------------------------------------------- # config # ---------------------------------------------------------------------------- +PUBLIC_URL="${PUBLIC_URL:-${SEARXNG_URL}}" + SERVICE_NAME="searx" SERVICE_USER="${SERVICE_USER:-${SERVICE_NAME}}" SEARXNG_SETTINGS_PATH="/etc/searx/settings.yml" @@ -24,6 +28,9 @@ usage:: $(basename "$0") remove all remove all: complete uninstall of SearXNG service + +environment: + PUBLIC_URL : ${PUBLIC_URL} EOF [[ -n ${1} ]] && err_msg "$1" |