ansible-edda/playbooks/filesystem/common/etc/systemd/system/fstrim-daily.timer

15 lines
247 B
SYSTEMD

[Unit]
Description=Discard unused blocks once a day
Documentation=man:fstrim
ConditionVirtualization=!container
[Timer]
OnCalendar=daily
AccuracySec=1h
Persistent=true
RandomizedDelaySec=6000
Unit=fstrim.service
[Install]
WantedBy=timers.target