util-linux/sys-utils/fstrim.timer
Peter Hoeg 1a2e4a94fc fstrim: systemd timer units should be WantedBy=timers.target
[kzak@redhat.com: - this configuration is recommended by systemd docs]

Signed-off-by: Karel Zak <kzak@redhat.com>
2016-01-12 10:30:36 +01:00

11 lines
170 B
SYSTEMD

[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true
[Install]
WantedBy=timers.target