use monotonic timer for session ticket key rotation

It makes more sense to rotate session ticket keys every 8 hours instead
of doing it at 3 specific times each day where the initial rotation will
happen earlier than necessary. It makes little difference due to keeping
the previous 3 session tickets valid but is cleaner.
This commit is contained in:
Daniel Micay 2025-09-15 19:05:11 -04:00
parent 5f1b0c886d
commit d923bc7e24

View file

@ -1,8 +1,11 @@
[Unit]
Description=Run rotate-session-ticket-keys three times daily
After=create-session-ticket-keys.service
Requires=create-session-ticket-keys.service
[Timer]
OnCalendar=0/8:00:00
OnActiveSec=8h
OnUnitActiveSec=8h
[Install]
WantedBy=timers.target