X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=units%2Fsystemd-readahead-drop.service;fp=units%2Fsystemd-readahead-drop.service;h=a9d97d72ab399c60c7d42d3bdfbc40b693ad4aca;hb=18975735984b1245bb4003ec287df002f7c4cf7f;hp=0000000000000000000000000000000000000000;hpb=07719a21b6425d378b36bb8d7f47ad5ec5296d28;p=elogind.git diff --git a/units/systemd-readahead-drop.service b/units/systemd-readahead-drop.service new file mode 100644 index 000000000..a9d97d72a --- /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