chiark / gitweb /
units: order fsck@.service before basic.target instead of local-fs.target to relax...
[elogind.git] / units / fsck@.service.in
index f0ccc8f075ccdb0a3324c9ec0f8997c3f55a2ed9..69d03db9864de148a68df511ed36f882a7842099 100644 (file)
@@ -6,13 +6,14 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=File System Check on %I
+Description=File System Check on %f
 DefaultDependencies=no
-Requires=%i.device
+BindTo=%i.device
 After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
-Before=local-fs.target shutdown.target
+Before=basic.target shutdown.target
 
 [Service]
 Type=oneshot
 RemainAfterExit=no
-ExecStart=@rootlibexecdir@/systemd-fsck %I
+ExecStart=@rootlibexecdir@/systemd-fsck %f
+StandardOutput=syslog+console