diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-23 21:05:22 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-23 21:05:22 +0100 |
commit | f17b28743a084a5ee36b4d29e672202b09ffc84d (patch) | |
tree | 48b8c8aac1bc7b5a38287318c3b5804d653869bd /utils/searx.sh | |
parent | 4d67164918db9bd9f2a5a58765e6082a633f3e8e (diff) | |
download | searxng-f17b28743a084a5ee36b4d29e672202b09ffc84d.tar.gz searxng-f17b28743a084a5ee36b4d29e672202b09ffc84d.zip |
utils/serx.sh: make uWSGI installation available for all distros (WIP)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/searx.sh')
-rwxr-xr-x | utils/searx.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/searx.sh b/utils/searx.sh index 0d011ef0a..2bf26bba4 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -66,7 +66,7 @@ APACHE_SEARX_SITE="searx.conf" # shellcheck disable=SC2034 CONFIG_FILES=( - "${uWSGI_SETUP}/apps-available/${SEARX_UWSGI_APP}" + "${uWSGI_APPS_AVAILABLE}/${SEARX_UWSGI_APP}" ) # shellcheck disable=SC2034 @@ -246,7 +246,7 @@ git pull ${SEARX_SRC}/manage.sh update_packages EOF install_settings - uWSGI_restart + uWSGI_restart "$SEARX_UWSGI_APP" } remove_all() { @@ -458,14 +458,14 @@ activate_service() { rst_title "Activate $SEARX_INSTANCE_NAME (service)" section echo uWSGI_enable_app "$SEARX_UWSGI_APP" - uWSGI_restart + uWSGI_restart "$SEARX_UWSGI_APP" } deactivate_service() { rst_title "De-Activate $SEARX_INSTANCE_NAME (service)" section echo uWSGI_disable_app "$SEARX_UWSGI_APP" - uWSGI_restart + uWSGI_restart "$SEARX_UWSGI_APP" } enable_debug() { @@ -475,7 +475,7 @@ enable_debug() { cd ${SEARX_SRC} sed -i -e "s/debug : False/debug : True/g" "$SEARX_SETTINGS_PATH" EOF - uWSGI_restart + uWSGI_restart "$SEARX_UWSGI_APP" } disable_debug() { @@ -484,7 +484,7 @@ disable_debug() { cd ${SEARX_SRC} sed -i -e "s/debug : True/debug : False/g" "$SEARX_SETTINGS_PATH" EOF - uWSGI_restart + uWSGI_restart "$SEARX_UWSGI_APP" } inspect_service() { |