chiark / gitweb /
untis: allow both console and plymouth ask password agents in boot transaction to...
[elogind.git] / units / fsck@.service.in
index f0ccc8f075ccdb0a3324c9ec0f8997c3f55a2ed9..e1f773639bfd88a573482a5493d1e863140b8862 100644 (file)
@@ -6,13 +6,15 @@
 #  (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=shutdown.target
 
 [Service]
 Type=oneshot
 RemainAfterExit=no
-ExecStart=@rootlibexecdir@/systemd-fsck %I
+ExecStart=@rootlibexecdir@/systemd-fsck %f
+StandardOutput=syslog+console
+TimeoutSec=0