summaryrefslogtreecommitdiff
path: root/units/systemd-readahead-drop.service
blob: a9d97d72ab399c60c7d42d3bdfbc40b693ad4aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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