2010-10-20 05:13:23 +07: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 21:16:45 +07:00
|
|
|
Description=File System Check on %f
|
2010-10-20 05:13:23 +07:00
|
|
|
DefaultDependencies=no
|
2010-10-29 04:18:47 +07:00
|
|
|
BindTo=%i.device
|
2010-10-20 20:22:04 +07:00
|
|
|
After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
|
2010-10-20 05:13:23 +07:00
|
|
|
Before=local-fs.target shutdown.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
2010-10-20 21:16:45 +07:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-fsck %f
|
2010-10-20 22:48:01 +07:00
|
|
|
StandardOutput=syslog
|