From eefbc77fb591f6df3e049a1e7fbb98ab97aada9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Mon, 6 Nov 2023 14:57:27 +0100 Subject: [PATCH] fix: use repeating timer syntax --- .../local/lib/systemd/system/chmod_chown_sftp_uploads.timer.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/usr/local/lib/systemd/system/chmod_chown_sftp_uploads.timer.j2 b/templates/usr/local/lib/systemd/system/chmod_chown_sftp_uploads.timer.j2 index 59e2b47..a83e68d 100644 --- a/templates/usr/local/lib/systemd/system/chmod_chown_sftp_uploads.timer.j2 +++ b/templates/usr/local/lib/systemd/system/chmod_chown_sftp_uploads.timer.j2 @@ -2,8 +2,7 @@ Description=timer: set correct permissions for SIPs that were uploaded via SFTP [Timer] -OnActiveSec=5min -OnBootSec=1min +OnCalendar=*:0/5 #When activated, it triggers the service immediately if it missed the last start time, for example due to the system being powered off Persistent=true #Unit to activate when the timer elapses. (default is set to the same name as the timer unit, except for the suffix) -- GitLab