16 lines
375 B
SYSTEMD
16 lines
375 B
SYSTEMD
|
# The following is based on the .timer files generated by `git
|
||
|
# maintenance start` from Git 2.43.0, with the notable change that
|
||
|
# instead of hard-coding a random minute offset, we set
|
||
|
# AccuracySec=60m and let systemd do it.
|
||
|
|
||
|
[Unit]
|
||
|
Description=Optimize Git cache data
|
||
|
|
||
|
[Timer]
|
||
|
OnCalendar=*-*-* 1..23:00:00
|
||
|
AccuracySec=60m
|
||
|
Persistent=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=timers.target
|