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

16 lines
380 B
SYSTEMD
Raw Permalink Normal View History

2024-01-27 22:02:59 +00:00
# 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