From 2d98348cfe8b0ac43c07a0bf9b8cbc80a0da7580 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Mon, 19 Aug 2024 17:06:57 +0200 Subject: [PATCH] fix timer documentation --- admin-guide/configuration/services.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin-guide/configuration/services.md b/admin-guide/configuration/services.md index 6a7f0aa5..3971db01 100644 --- a/admin-guide/configuration/services.md +++ b/admin-guide/configuration/services.md @@ -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