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
|
2012-04-11 22:20:58 +00: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-19 22:13:23 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2010-10-20 14:16:45 +00:00
|
|
|
Description=File System Check on %f
|
2012-06-27 09:51:38 +00:00
|
|
|
Documentation=man:systemd-fsck@.service(8)
|
2010-10-19 22:13:23 +00:00
|
|
|
DefaultDependencies=no
|
2012-07-13 21:34:40 +00:00
|
|
|
BindsTo=%i.device
|
2015-01-26 16:30:00 +00:00
|
|
|
Wants=systemd-fsckd.socket
|
|
|
|
After=%i.device systemd-fsck-root.service local-fs-pre.target systemd-fsckd.socket
|
2011-04-19 22:44:37 +00:00
|
|
|
Before=shutdown.target
|
2010-10-19 22:13:23 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2013-08-15 19:07:57 +00:00
|
|
|
RemainAfterExit=yes
|
2010-10-20 14:16:45 +00:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-fsck %f
|
2011-02-20 19:27:59 +00:00
|
|
|
TimeoutSec=0
|