Support SEARXNG_SETTINGS_PATH folder
This commit is contained in:
parent
2fbf15eccb
commit
6f33031efd
@ -135,6 +135,10 @@ update_conf() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -d "${SEARXNG_SETTINGS_PATH}" ]; then
|
||||||
|
$SEARXNG_SETTINGS_PATH="${SEARXNG_SETTINGS_PATH}/settings.yml"
|
||||||
|
fi
|
||||||
|
|
||||||
# searx compatibility: copy /etc/searx/* to /etc/searxng/*
|
# searx compatibility: copy /etc/searx/* to /etc/searxng/*
|
||||||
SEARX_CONF=0
|
SEARX_CONF=0
|
||||||
if [ -f "/etc/searx/settings.yml" ]; then
|
if [ -f "/etc/searx/settings.yml" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user