mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Support SEARXNG_SETTINGS_PATH folder
This commit is contained in:
parent
2fbf15eccb
commit
6f33031efd
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue