From 6135642569e13208350a997ca41a31a7b4fffcf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Thu, 11 Apr 2024 14:07:09 +0200
Subject: [PATCH] fix: start maintenance shutdown one hour before Rosetta is
 shut down

---
 .../local/lib/systemd/system/disapp_maintenance_begin.timer.j2  | 2 +-
 .../local/lib/systemd/system/subapp_maintenance_begin.timer.j2  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/usr/local/lib/systemd/system/disapp_maintenance_begin.timer.j2 b/templates/usr/local/lib/systemd/system/disapp_maintenance_begin.timer.j2
index 2e1ee38..7f0eb91 100644
--- a/templates/usr/local/lib/systemd/system/disapp_maintenance_begin.timer.j2
+++ b/templates/usr/local/lib/systemd/system/disapp_maintenance_begin.timer.j2
@@ -4,7 +4,7 @@ Description=timer for disapp_maintenance.service
 [Timer]
 # run on the 1st Tuesday of each month
 # You can validate your calendar expressions using `systemd-analyze calendar EXPR`.
-OnCalendar=Tue *-*-01..07 08:00:00
+OnCalendar=Tue *-*-01..07 07:00:00
 Unit=disapp_maintenance_begin
 
 [Install]
diff --git a/templates/usr/local/lib/systemd/system/subapp_maintenance_begin.timer.j2 b/templates/usr/local/lib/systemd/system/subapp_maintenance_begin.timer.j2
index d86f73e..91fbd66 100644
--- a/templates/usr/local/lib/systemd/system/subapp_maintenance_begin.timer.j2
+++ b/templates/usr/local/lib/systemd/system/subapp_maintenance_begin.timer.j2
@@ -4,7 +4,7 @@ Description=timer for subapp_maintenance.service
 [Timer]
 # run on the 1st Tuesday of each month
 # You can validate your calendar expressions using `systemd-analyze calendar EXPR`.
-OnCalendar=Tue *-*-01..07 08:00:00
+OnCalendar=Tue *-*-01..07 07:00:00
 Unit=subapp_maintenance_begin
 
 [Install]
-- 
GitLab