2010-10-19 22:13:23 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2010-10-20 14:16:45 +00:00
|
|
|
Description=File System Check on %f
|
2010-10-19 22:13:23 +00:00
|
|
|
DefaultDependencies=no
|
2010-10-28 21:18:47 +00:00
|
|
|
BindTo=%i.device
|
2010-10-20 13:22:04 +00:00
|
|
|
After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
|
2011-02-18 11:39:30 +00:00
|
|
|
Before=basic.target shutdown.target
|
2010-10-19 22:13:23 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
2010-10-20 14:16:45 +00:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-fsck %f
|
2011-02-15 00:28:31 +00:00
|
|
|
StandardOutput=syslog+console
|