eclipse/etc/eclipse-gitcache-maintenanc...

16 lines
380 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=Tue..Sun *-*-* 0:00:00
AccuracySec=60m
Persistent=true
[Install]
WantedBy=timers.target