diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-03-01 17:47:16 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-03-01 18:02:05 +0100 |
| commit | 0c2076ca5bff98020a10cb622998db4e16864079 (patch) | |
| tree | a0de1dc2bb35bf406f48dd7d3f07d4368d29c06d /docs/admin | |
| parent | a51416c7c38b29152412b433dfcc941acb3f3083 (diff) | |
[doc] minor improvements to the favicon docs (cache.db_url)
Related:
- https://github.com/searxng/searxng/issues/4405
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/admin')
| -rw-r--r-- | docs/admin/searx.favicons.rst | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/docs/admin/searx.favicons.rst b/docs/admin/searx.favicons.rst index b05b3458b..cc6ebd7a4 100644 --- a/docs/admin/searx.favicons.rst +++ b/docs/admin/searx.favicons.rst @@ -93,15 +93,13 @@ TOML_ configuration is created in the file ``/etc/searxng/favicons.toml``. :py:obj:`cache.db_url <.FaviconCacheConfig.db_url>`: The path to the (SQLite_) database file. The default path is in the `/tmp`_ folder, which is deleted on every reboot and is therefore unsuitable for a - production environment. The FHS_ provides the folder for the - application cache + production environment. The FHS_ provides the folder `/var/cache`_ for the + cache of applications, so a suitable storage location of SearXNG's caches is + folder ``/var/cache/searxng``. - The FHS_ provides the folder `/var/cache`_ for the cache of applications, so a - suitable storage location of SearXNG's caches is folder ``/var/cache/searxng``. - In container systems, a volume should be mounted for this folder and in a - standard installation (compare :ref:`create searxng user`), the folder must be - created and the user under which the SearXNG process is running must be given - write permission to this folder. + In a standard installation (compare :ref:`create searxng user`), the folder + must be created and the user under which the SearXNG process is running must + be given write permission to this folder. .. code:: bash @@ -109,6 +107,10 @@ TOML_ configuration is created in the file ``/etc/searxng/favicons.toml``. $ sudo chown root:searxng /var/cache/searxng/ $ sudo chmod g+w /var/cache/searxng/ + In container systems, a volume should be mounted for this folder. Check + whether the process in the container has read/write access to the mounted + folder. + :py:obj:`cache.LIMIT_TOTAL_BYTES <.FaviconCacheConfig.LIMIT_TOTAL_BYTES>`: Maximum of bytes stored in the cache of all blobs. The limit is only reached at each maintenance interval after which the oldest BLOBs are deleted; the |