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=517dee70bec9aadb54403911111318bb25dd013a;hpb=93a1d735aca5584a005d851f12cb0b8c7bb5e5ca;p=elogind.git diff --git a/units/systemd-fsck-root.service.in b/units/systemd-fsck-root.service.in index 517dee70b..f493445b8 100644 --- a/units/systemd-fsck-root.service.in +++ b/units/systemd-fsck-root.service.in @@ -7,18 +7,15 @@ [Unit] Description=File System Check on Root Device +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