From c39602e28ba9c57e4286192c63260e9a6a80fc53 Mon Sep 17 00:00:00 2001 From: Jens Steidl <Jens.Steidl@slub-dresden.de> Date: Mon, 3 Jun 2024 10:25:50 +0200 Subject: [PATCH] fix: updated timer to better fit maintenance window --- .../local/lib/systemd/system/rosetta_maintenance_begin.timer.j2 | 2 +- .../local/lib/systemd/system/rosetta_maintenance_end.timer.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/usr/local/lib/systemd/system/rosetta_maintenance_begin.timer.j2 b/templates/usr/local/lib/systemd/system/rosetta_maintenance_begin.timer.j2 index bcbf33a..a5e3bff 100644 --- a/templates/usr/local/lib/systemd/system/rosetta_maintenance_begin.timer.j2 +++ b/templates/usr/local/lib/systemd/system/rosetta_maintenance_begin.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 08:00:00 +OnCalendar=Tue *-*-01,02,03,04,05,06,07 07:55:00 Unit=rosetta_maintenance_begin.service [Install] 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 da46ac3..fa21c3d 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:00:00 +OnCalendar=Tue *-*-01,02,03,04,05,06,07 11:45:00 Unit=exlibris.service [Install] -- GitLab