From 614746b59e6a1af59f453703037452307d5444fe Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 27 May 2025 11:00:22 +0200 Subject: webmap-update@.timer: Add ability to adjust calendar events for individual template units. Via group variables. For instance mineralrattigheter.zip is updated daily at 04:33 CEST, so we trigger the units after that to avoid being off by a day. (Also that particular unit runs relatively fast and should have terminated by the start of office hours.) --- templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 (limited to 'templates/etc/systemd/system/webmap-update@.timer.d') diff --git a/templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 b/templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 new file mode 100644 index 0000000..795ee20 --- /dev/null +++ b/templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 @@ -0,0 +1,3 @@ +[Timer] +OnCalendar= +OnCalendar={{ webmap_layer_groups_update_calendar[item] }} -- cgit v1.2.3