This website requires JavaScript.
Explore
Help
Register
Sign In
ericonr
/
util-linux
mirror of
https://github.com/ericonr/util-linux.git
Watch
1
Star
0
Fork
You've already forked util-linux
0
Code
Issues
Projects
Releases
Wiki
Activity
0554182555
util-linux
/
sys-utils
/
fstrim.service.in
7 lines
96 B
SYSTEMD
Raw
Normal View
History
Unescape
Escape
fstrim: add systemd units This adds a timer and a service for systemd that runs fstrim -a once a day. The Persistent=true option used will only work on systemd 212 or newer.
2014-04-03 16:41:51 -05:00
[Unit]
Description
=
Discard unused blocks
[Service]
Type
=
oneshot
fstrim: add -v to the systemd service It seems to be good idea to have more verbose output in the log files for weekly fstrim execution. The verbose adds details (one line) for each filesystem. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1337304 Signed-off-by: Karel Zak <kzak@redhat.com>
2016-10-18 05:08:50 -05:00
ExecStart
=
@sbindir@/fstrim -av