chiark / gitweb /
use /run instead of /dev/.run
[elogind.git] / units / fsck-root.service.in
index 3df2cd3809227c69877e611891442d6756f5996b..8f4adc48e07536d14261faa08e7a1751aa10ffbc 100644 (file)
@@ -12,7 +12,7 @@ After=systemd-readahead-collect.service systemd-readahead-replay.service
 Before=local-fs.target shutdown.target remount-rootfs.service quotacheck.service
 
 # Dracut informs us with this flag file if the root fsck was already run
-ConditionPathExists=!/dev/.initramfs/fsck
+ConditionPathExists=!/run/initramfs/root-fsck
 
 [Service]
 Type=oneshot
@@ -20,3 +20,4 @@ RemainAfterExit=no
 ExecStart=@rootlibexecdir@/systemd-fsck
 StandardOutput=syslog+console
 FsckPassNo=1
+TimeoutSec=0