ansible-edda/plays/roles/system_zfs/files/fstrim/fstrim.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