Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance docs for system_cachedir, cachedir and logdir #1618

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions doc/dnf5.conf.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ repository configuration file should aside from repo ID consists of baseurl, met
Has a reasonable root-writable default depending on the distribution. DNF5
needs to be able to create files and directories at this location.

Default: ``/var/cache/libdnf5``.
Regular user default: ``/home/$USER/.cache/libdnf5``.

For superuser the value is overwritten by :ref:`system_cachedir <_system_cachedir_options-label>` option.

.. _cacheonly_options-label:

Expand Down Expand Up @@ -257,7 +259,9 @@ repository configuration file should aside from repo ID consists of baseurl, met

Directory where the log files will be stored.

Default: ``/var/log``.
Regular user default: ``/home/$USER/.local/state``.

Superuser default: ``/var/log``.

.. _log_rotate_options-label:

Expand Down Expand Up @@ -413,6 +417,18 @@ repository configuration file should aside from repo ID consists of baseurl, met

Default: TODO add default

.. _system_cachedir_options-label:

``system_cachedir``

:ref:`string <string-label>`

For superuser overwrites the :ref:`cachedir <_cachedir_options-label>` option value.

Allows to differentiate user and superuser cachedir.

Default: ``/var/cache/libdnf5``.

.. _system_state_options-label:

``system_state``
Expand Down
Loading