Use searx as default search for users
This commit is contained in:
parent
391edfe243
commit
d7abf4dc06
|
@ -1011,6 +1011,9 @@ function install_searx {
|
|||
systemctl daemon-reload
|
||||
systemctl start searx.service
|
||||
|
||||
DEFAULT_SEARCH="http://$SEARX_ONION_HOSTNAME"
|
||||
update_default_search_engine
|
||||
|
||||
SEARX_PASSWORD="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
|
||||
${PROJECT_NAME}-pass -u $MY_USERNAME -a searx -p "$SEARX_PASSWORD"
|
||||
if grep -q "$MY_USERNAME:" /etc/nginx/.htpasswd; then
|
||||
|
|
Loading…
Reference in New Issue