Skip to content
Snippets Groups Projects
Commit d52dc2c7 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

basic-system: fstrim cronjob

parent 69bf86dc
No related branches found
No related tags found
No related merge requests found
Pipeline #3729 passed
This commit is part of merge request !19. Comments created here will be created in the context of that merge request.
#!/bin/sh
set -e
if command -v fstrim >/dev/null; then
fstrim -a
fi
......@@ -54,6 +54,16 @@
tags:
- etckeeper
- name: Configure fstrim cronjob
copy:
src: fstrim
dest: /etc/cron.daily/fstrim
owner: root
group: root
mode: '0755'
tags:
- fstrim
- include: logging.yml
- meta: flush_handlers
- include: network.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment