chiark / gitweb /
fsckd: make sure unprivileged clients cannot play games with fsckd
[elogind.git] / units / systemd-fsck@.service.in
index 4c595772dec63ac426271107c3f6319ebabddddd..e6d98c031b4770ac20872fb99e1c1d7670d840ec 100644 (file)
@@ -7,14 +7,15 @@
 
 [Unit]
 Description=File System Check on %f
+Documentation=man:systemd-fsck@.service(8)
 DefaultDependencies=no
-BindTo=%i.device
-After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
+BindsTo=%i.device
+Wants=systemd-fsckd.socket
+After=%i.device systemd-fsck-root.service local-fs-pre.target systemd-fsckd.socket
 Before=shutdown.target
 
 [Service]
 Type=oneshot
-RemainAfterExit=no
+RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-fsck %f
-StandardOutput=journal+console
 TimeoutSec=0