summaryrefslogtreecommitdiffstats
path: root/sys-utils/fstrim.timer
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/fstrim.timer')
-rw-r--r--sys-utils/fstrim.timer11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-utils/fstrim.timer b/sys-utils/fstrim.timer
new file mode 100644
index 0000000..3a3762d
--- /dev/null
+++ b/sys-utils/fstrim.timer
@@ -0,0 +1,11 @@
+[Unit]
+Description=Discard unused blocks once a week
+Documentation=man:fstrim
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target