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=dfc4b6acf088f71f717fce8866a5841091219fa5;hp=a519e270df04bc4a16ff9f2ccae9bad7d42ddbd1;hpb=a32f224aafaf47d3489a730259a47ef45781193e;p=elogind.git diff --git a/units/systemd-fsck-root.service.in b/units/systemd-fsck-root.service.in index a519e270d..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 -Documentaiton=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