2010-10-20 00:13:23 +02:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02:00
|
|
|
# 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
|
2010-10-20 00:13:23 +02:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2010-10-20 16:16:45 +02:00
|
|
|
Description=File System Check on %f
|
2010-10-20 00:13:23 +02:00
|
|
|
DefaultDependencies=no
|
2010-10-28 23:18:47 +02:00
|
|
|
BindTo=%i.device
|
2010-10-20 15:22:04 +02:00
|
|
|
After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
|
2011-04-20 00:44:37 +02:00
|
|
|
Before=shutdown.target
|
2010-10-20 00:13:23 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
2010-10-20 16:16:45 +02:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-fsck %f
|
2012-01-12 05:09:06 +01:00
|
|
|
StandardOutput=journal+console
|
2011-02-20 20:27:59 +01:00
|
|
|
TimeoutSec=0
|