diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-05-27 11:00:22 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-05-27 11:02:38 +0200 |
commit | 614746b59e6a1af59f453703037452307d5444fe (patch) | |
tree | 656f568d4b1d830d40b90c557c359cf211090e1c /templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 | |
parent | 420f1a59d6cad99549364e699200edd659bb5b2e (diff) |
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.)
Diffstat (limited to 'templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2')
-rw-r--r-- | templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
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] }} |