mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-12-11 06:35:46 -05:00
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:
parent
5f1b0c886d
commit
d923bc7e24
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue