2014-04-03 16:41:51 -05:00
|
|
|
[Unit]
|
2014-04-10 02:38:17 -05:00
|
|
|
Description=Discard unused blocks once a week
|
|
|
|
Documentation=man:fstrim
|
2019-08-14 11:58:39 -05:00
|
|
|
ConditionVirtualization=!container
|
2021-05-21 03:45:35 -05:00
|
|
|
ConditionPathExists=!/etc/initrd-release
|
2014-04-03 16:41:51 -05:00
|
|
|
|
|
|
|
[Timer]
|
2014-04-10 02:38:17 -05:00
|
|
|
OnCalendar=weekly
|
2014-04-03 16:41:51 -05:00
|
|
|
AccuracySec=1h
|
|
|
|
Persistent=true
|
2020-02-12 14:35:22 -06:00
|
|
|
RandomizedDelaySec=6000
|
2014-04-03 16:41:51 -05:00
|
|
|
|
|
|
|
[Install]
|
2016-01-06 20:16:02 -06:00
|
|
|
WantedBy=timers.target
|