chiark / gitweb /
rtnl: make checks for default routes more strict
[elogind.git] / units / systemd-fsck@.service.in
index 1cade4e6023daf456f3015cf7518b1784aae4d09..857e625679d8c154b484e691bceec90fe2efdbe7 100644 (file)
@@ -9,13 +9,13 @@
 Description=File System Check on %f
 Documentation=man:systemd-fsck@.service(8)
 DefaultDependencies=no
-BindTo=%i.device
-After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
+BindsTo=%i.device
+After=%i.device systemd-fsck-root.service local-fs-pre.target
 Before=shutdown.target
 
 [Service]
 Type=oneshot
-RemainAfterExit=no
+RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-fsck %f
 StandardOutput=journal+console
 TimeoutSec=0