]> git.proxmox.com Git - pmg-api.git/commitdiff
daily update timer: start already on 01:00 to avoid dst change issue
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 14 Mar 2022 08:08:09 +0000 (09:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 14 Mar 2022 08:18:34 +0000 (09:18 +0100)
copied from pve-manager commit f703b171:

see https://github.com/systemd/systemd/issues/5595

Has also the side effect of spreading out the updates for our most
used product over a longer time span, reducing load on the CDN.

Note, this is now the same timer setting as PBS used from the start.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/pmg-daily.timer

index af02412e6b5e674f46f8eabe64948f5ee0a0667c..c1ee3329c4c95b8e2f397ed5df75734e69bad672 100644 (file)
@@ -2,9 +2,9 @@
 Description=Daily Proxmox Mail Gateway activities
 
 [Timer]
-OnCalendar=02:00
-RandomizedDelaySec=4hours
-Persistent=true     
+OnCalendar=01:00
+RandomizedDelaySec=5h
+Persistent=true
 
 [Install]
-WantedBy=timers.target
\ No newline at end of file
+WantedBy=timers.target