summaryrefslogtreecommitdiffstats
path: root/sys-utils/fstrim.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/fstrim.service.in')
-rw-r--r--sys-utils/fstrim.service.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-utils/fstrim.service.in b/sys-utils/fstrim.service.in
new file mode 100644
index 0000000..2d5daf9
--- /dev/null
+++ b/sys-utils/fstrim.service.in
@@ -0,0 +1,7 @@
+[Unit]
+Description=Discard unused blocks on filesystems from /etc/fstab
+Documentation=man:fstrim(8)
+
+[Service]
+Type=oneshot
+ExecStart=@sbindir@/fstrim -Av