Skip to content
Open
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
11 changes: 10 additions & 1 deletion doc/post-transaction-actions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,17 @@ Configuration
The plugin configuration is in ``/etc/dnf/plugins/post-transaction-actions.conf``. All configuration
options are in the ``[main]`` section.

You can declare one of this variable with this syntax:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's your intention with this? Do you want to provide an example of a configuration file? To be honest it seems simple enough and not necessary. The sentence above also doesn't fit and is not well formed.


.. code-block:: none

[main]
enabled = 1
actiondir = /etc/dnf/plugins/post-transaction-actions.d/


``enabled``
Whether the plugin is enabled. Default value is ``True``.
Whether the plugin is enabled. Default value is 1.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enabled is a boolean value and the default is indeed True, it's just that 1 also stands for True and is often used instead.


``actiondir``
Path to the directory with action files. Action files must have the ".action" extension.
Expand Down