diff options
Diffstat (limited to 'src/example/example.yaml')
-rw-r--r-- | src/example/example.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/example/example.yaml b/src/example/example.yaml index 4e216cd..171aeaa 100644 --- a/src/example/example.yaml +++ b/src/example/example.yaml @@ -53,3 +53,24 @@ watch: property paths: example path group properties: example property group + +- name: example journal callback + description: > + 'Callbacks are actions PDM should take when instructed to do so. + + Some callback types refer to a group of paths and group of properties + in a similar fashion as the property watch directive. + + The journal callback logs the specified message to the systemd journal + with the specified severity. + + Additionally, the journal callback will add to the journal key value + pair metadata for each property in the specified property group with + the key being the property element metadata and the value being the + property value.' + class: callback + callback: journal + paths: example path group + properties: example property group + severity: INFO + message: Hello world from PDM! |