forked from Ponysearch/Ponysearch
[fix] typos in utils/searxng.sh
This commit is contained in:
parent
4e355564d2
commit
0af41ab15c
2 changed files with 5 additions and 4 deletions
|
@ -165,4 +165,5 @@ features or generally made searx better:
|
||||||
- Paul Alcock @Guilvareux
|
- Paul Alcock @Guilvareux
|
||||||
- Sam A. `<https://samsapti.dev>`_
|
- Sam A. `<https://samsapti.dev>`_
|
||||||
- @XavierHorwood
|
- @XavierHorwood
|
||||||
- Ahmad Alkadri `<https://github.com/ahmad-alkadri>`_
|
- Ahmad Alkadri `<https://github.com/ahmad-alkadri>`_
|
||||||
|
- Milad Laly @Milad-Laly
|
|
@ -395,7 +395,7 @@ searxng.remove.all() {
|
||||||
wait_key
|
wait_key
|
||||||
|
|
||||||
if service_is_available "${SEARXNG_URL}"; then
|
if service_is_available "${SEARXNG_URL}"; then
|
||||||
MSG="** Don't forgett to remove your public site! (${SEARXNG_URL}) **" wait_key 10
|
MSG="** Don't forget to remove your public site! (${SEARXNG_URL}) **" wait_key 10
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -650,7 +650,7 @@ searxng.remove.redis() {
|
||||||
}
|
}
|
||||||
|
|
||||||
searxng.instance.localtest() {
|
searxng.instance.localtest() {
|
||||||
rst_title "Test SearXNG instance localy" section
|
rst_title "Test SearXNG instance locally" section
|
||||||
rst_para "Activate debug mode, start a minimal SearXNG "\
|
rst_para "Activate debug mode, start a minimal SearXNG "\
|
||||||
"service and debug a HTTP request/response cycle."
|
"service and debug a HTTP request/response cycle."
|
||||||
|
|
||||||
|
@ -783,7 +783,7 @@ This removes Nginx site ${NGINX_SEARXNG_SITE}::
|
||||||
|
|
||||||
searxng.instance.exec() {
|
searxng.instance.exec() {
|
||||||
if ! service_account_is_available "${SERVICE_USER}"; then
|
if ! service_account_is_available "${SERVICE_USER}"; then
|
||||||
die 42 "can't execute: instance does not exists (missed account ${SERVICE_USER})"
|
die 42 "can't execute: instance does not exist (missed account ${SERVICE_USER})"
|
||||||
fi
|
fi
|
||||||
sudo -H -i -u "${SERVICE_USER}" \
|
sudo -H -i -u "${SERVICE_USER}" \
|
||||||
SEARXNG_UWSGI_USE_SOCKET="${SEARXNG_UWSGI_USE_SOCKET}" \
|
SEARXNG_UWSGI_USE_SOCKET="${SEARXNG_UWSGI_USE_SOCKET}" \
|
||||||
|
|
Loading…
Reference in a new issue