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

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

[Install]
WantedBy=timers.target