|
@@ -1011,6 +1011,9 @@ function install_searx {
|
1011
|
1011
|
systemctl daemon-reload
|
1012
|
1012
|
systemctl start searx.service
|
1013
|
1013
|
|
|
1014
|
+ DEFAULT_SEARCH="http://$SEARX_ONION_HOSTNAME"
|
|
1015
|
+ update_default_search_engine
|
|
1016
|
+
|
1014
|
1017
|
SEARX_PASSWORD="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
|
1015
|
1018
|
${PROJECT_NAME}-pass -u $MY_USERNAME -a searx -p "$SEARX_PASSWORD"
|
1016
|
1019
|
if grep -q "$MY_USERNAME:" /etc/nginx/.htpasswd; then
|