X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-fsck-root.service.in;h=f493445b86465b6908a6adf4cc623959abdc6bfa;hb=df4573e85190759e39b417d4d4a8c73eda6a05e5;hp=2277649f30a73d321504c5d4b87721902c4909be;hpb=ca5dc4b67dd6956bea663ade032352a58bf163c6;p=elogind.git diff --git a/units/systemd-fsck-root.service.in b/units/systemd-fsck-root.service.in index 2277649f3..f493445b8 100644 --- a/units/systemd-fsck-root.service.in +++ b/units/systemd-fsck-root.service.in @@ -7,19 +7,15 @@ [Unit] Description=File System Check on Root Device -Documentition=man:systemd-fsck@.service(8) +Documentation=man:systemd-fsck-root.service(8) DefaultDependencies=no -After=systemd-readahead-collect.service systemd-readahead-replay.service +Wants=systemd-fsckd.socket Before=local-fs.target shutdown.target - -# Dracut informs us with this flag file if the root fsck was already run -ConditionPathExists=!/run/initramfs/root-fsck +After=systemd-fsckd.socket ConditionPathIsReadWrite=!/ [Service] Type=oneshot -RemainAfterExit=no +RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-fsck -StandardOutput=journal+console -FsckPassNo=1 TimeoutSec=0