X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffsck-root.service.in;h=f2870bdee7976f0a8c6e2ddf78bf1253a3ac18df;hb=8ea5c07b1c527b6885ac5debaacd823b87f10d05;hp=290c8453cce912ab5c98d68ac64221b76ff10ae6;hpb=80f7378c5d8aebabcad7d0448df1263e37b3acd2;p=elogind.git diff --git a/units/fsck-root.service.in b/units/fsck-root.service.in index 290c8453c..f2870bdee 100644 --- a/units/fsck-root.service.in +++ b/units/fsck-root.service.in @@ -1,23 +1,23 @@ # 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 +# 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 # (at your option) any later version. [Unit] Description=File System Check on Root Device DefaultDependencies=no After=systemd-readahead-collect.service systemd-readahead-replay.service -Before=local-fs.target shutdown.target remount-rootfs.service quotacheck.service +Before=local-fs.target shutdown.target # Dracut informs us with this flag file if the root fsck was already run -ConditionPathExists=!/dev/.initramfs/fsck +ConditionPathExists=!/run/initramfs/root-fsck [Service] Type=oneshot RemainAfterExit=no ExecStart=@rootlibexecdir@/systemd-fsck -StandardOutput=syslog+console +StandardOutput=journal+console FsckPassNo=1 TimeoutSec=0