chiark / gitweb /
pam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROL
[elogind.git] / units / fsck-root.service.in
index cb654260c03ad4ef265be06124d1f7bd301fb966..8f4adc48e07536d14261faa08e7a1751aa10ffbc 100644 (file)
@@ -12,11 +12,12 @@ 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
 RemainAfterExit=no
 ExecStart=@rootlibexecdir@/systemd-fsck
-StandardOutput=syslog
+StandardOutput=syslog+console
 FsckPassNo=1
+TimeoutSec=0