summaryrefslogtreecommitdiffstats
path: root/sys-utils/fstrim.timer
blob: 60ab3b6ece2a00586d8d767b8fc85f30eb885f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
ConditionVirtualization=!container
ConditionPathExists=!/etc/initrd-release

[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true
RandomizedDelaySec=6000

[Install]
WantedBy=timers.target