# (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