From 130e2349d1a9004475b557e41930a7dbc4928e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Thu, 6 Feb 2025 16:19:01 +0100 Subject: [PATCH] feat: adjust maintenance end timer to match new ZIH maintenance window --- tasks/rosetta/configure_maintenance.yml | 1 + .../local/lib/systemd/system/rosetta_maintenance_end.timer.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/rosetta/configure_maintenance.yml b/tasks/rosetta/configure_maintenance.yml index dc085e9..0198243 100644 --- a/tasks/rosetta/configure_maintenance.yml +++ b/tasks/rosetta/configure_maintenance.yml @@ -22,6 +22,7 @@ - "rosetta_maintenance_begin.service" - "rosetta_maintenance_begin.timer" - "rosetta_maintenance_end.timer" + notify: daemon-reload - name: enable Rosetta maintenance services and timers ansible.builtin.systemd_service: name: "{{ item.name }}" diff --git a/templates/usr/local/lib/systemd/system/rosetta_maintenance_end.timer.j2 b/templates/usr/local/lib/systemd/system/rosetta_maintenance_end.timer.j2 index fa21c3d..7cb2c24 100644 --- a/templates/usr/local/lib/systemd/system/rosetta_maintenance_end.timer.j2 +++ b/templates/usr/local/lib/systemd/system/rosetta_maintenance_end.timer.j2 @@ -10,7 +10,7 @@ Description=timer for rosetta_maintenance.service # syntax that explicitely lists all days separated by commas. # One more reason for RHEL to fuck ALL THE WAY OFF! # OnCalendar=Tue *-*-01..07 08:00:00 # NOT THIS on RHEL 7! -OnCalendar=Tue *-*-01,02,03,04,05,06,07 11:45:00 +OnCalendar=Tue *-*-01,02,03,04,05,06,07 15:00:00 Unit=exlibris.service [Install] -- GitLab