diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-23 03:50:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-23 03:50:15 +0200 |
commit | 18975735984b1245bb4003ec287df002f7c4cf7f (patch) | |
tree | 9f0a88381587f1d493ae908b1386c7e85b7eb2ca /units/systemd-readahead-drop.service | |
parent | 07719a21b6425d378b36bb8d7f47ad5ec5296d28 (diff) |
readahead: when doing a system update drop readahead file
Diffstat (limited to 'units/systemd-readahead-drop.service')
-rw-r--r-- | units/systemd-readahead-drop.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/units/systemd-readahead-drop.service b/units/systemd-readahead-drop.service new file mode 100644 index 0000000000..a9d97d72ab --- /dev/null +++ b/units/systemd-readahead-drop.service @@ -0,0 +1,18 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Drop Read-Ahead Data +ConditionPathExists=/.readahead + +[Service] +Type=oneshot +ExecStart=/bin/rm -f /.readahead + +[Install] +WantedBy=system-update.target +Also=systemd-readahead-collect.service |