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]
|
|
|
|
Description=File System Check on Root Device
|
2013-08-15 21:07:57 +02:00
|
|
|
Documentation=man:systemd-fsck-root.service(8)
|
2010-10-20 00:13:23 +02:00
|
|
|
DefaultDependencies=no
|
2011-04-16 01:58:43 +02:00
|
|
|
Before=local-fs.target shutdown.target
|
2012-04-22 13:38:46 +02:00
|
|
|
ConditionPathIsReadWrite=!/
|
2011-02-14 11:42:47 +01:00
|
|
|
|
2010-10-20 00:13:23 +02:00
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2013-08-15 21:07:57 +02:00
|
|
|
RemainAfterExit=yes
|
2010-10-20 00:13:23 +02:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-fsck
|
2012-01-12 05:09:06 +01:00
|
|
|
StandardOutput=journal+console
|
2011-02-20 20:27:59 +01:00
|
|
|
TimeoutSec=0
|