chiark / gitweb /
Add man page and references to it.
[elogind.git] / units / systemd-fsck-root.service.in
index ef5123feb8c4db1acb75926d0f9abc2b57a09a27..f493445b86465b6908a6adf4cc623959abdc6bfa 100644 (file)
@@ -7,19 +7,15 @@
 
 [Unit]
 Description=File System Check on Root Device
-Documentation=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