fix timer documentation

This commit is contained in:
2024-08-19 17:06:57 +02:00
parent 12ba250e61
commit 2d98348cfe

View File

@@ -31,7 +31,8 @@ base::timers:
description: 'test timers'
command: '/usr/bin/logger foo'
on_calendar: '*:*:10'
persistence: false
timer_options:
persistence: false
```
For each timer following keys are mandatory
@@ -41,7 +42,7 @@ For each timer following keys are mandatory
- `on_calendar` defining when it should run using the [`systemd` calendar event format](https://www.freedesktop.org/software/systemd/man/systemd.time.html#Calendar%20Events), (alternatively see also chapter "CALENDAR EVENTS" of `man systemd.date`)
Optional is
- `persistence` which signals if the timer should run immediately after boot when the node was switched of on the last scheduled run time (default is `false`)
- `timer_options` for additional options. In the example it is `persistence`which signals if the timer should run immediately after boot when the node was switched of on the last scheduled run time (default is `false`).
## Manage Services with Custom Unit Files