chiark / gitweb /
Add man page and references to it.
[elogind.git] / units / systemd-fsck-root.service.in
index a519e270df04bc4a16ff9f2ccae9bad7d42ddbd1..f493445b86465b6908a6adf4cc623959abdc6bfa 100644 (file)
@@ -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