increase randomized delay of persistent timers

This reduces the chance of a timer executing a time consuming service
close to boot, potentially speeding up boot (or at least making
`systemd-analyze blame` look better).
This commit is contained in:
Pig Monkey 2021-02-17 18:16:36 -08:00
parent 3692582920
commit 04b62197a1
4 changed files with 7 additions and 7 deletions

View file

@ -3,8 +3,8 @@ Description=Clean-up Old Pacman Files
[Timer]
OnCalendar=daily
AccuracySec=1h
Persistent=True
Persistent=true
RandomizedDelaySec=3h
[Install]
WantedBy=multi-user.target

View file

@ -4,8 +4,8 @@ Description=Reflector Update Timer
[Timer]
Unit=reflector-update.service
OnCalendar=daily
Persistent=True
RandomizedDelaySec=1h
Persistent=true
RandomizedDelaySec=3h
[Install]
WantedBy=timers.target

View file

@ -4,7 +4,7 @@ Description=Unbound Root Hints Update Timer
[Timer]
OnCalendar=monthly
Persistent=true
RandomizedDelaySec=3600
RandomizedDelaySec=3h
Unit=roothints.service
[Install]

View file

@ -3,10 +3,10 @@
Description=GNU Units Currency Update Timer
[Timer]
Unit=units_cur.service
OnCalendar=daily
Persistent=true
RandomizedDelaySec=3600
Unit=units_cur.service
RandomizedDelaySec=3h
[Install]
WantedBy=timers.target