]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/fsck-root.service.in
relicense to LGPLv2.1 (with exceptions)
[thirdparty/systemd.git] / units / fsck-root.service.in
CommitLineData
335aa753
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
335aa753
LP
6# (at your option) any later version.
7
8[Unit]
9Description=File System Check on Root Device
10DefaultDependencies=no
11After=systemd-readahead-collect.service systemd-readahead-replay.service
42549a5a 12Before=local-fs.target shutdown.target
335aa753 13
7a57b332 14# Dracut informs us with this flag file if the root fsck was already run
2b583ce6 15ConditionPathExists=!/run/initramfs/root-fsck
7a57b332 16
335aa753
LP
17[Service]
18Type=oneshot
19RemainAfterExit=no
20ExecStart=@rootlibexecdir@/systemd-fsck
4cfa2c99 21StandardOutput=journal+console
2ba545f1 22FsckPassNo=1
80f7378c 23TimeoutSec=0