chiark / gitweb /
systemd: serialize/deserialize forbid_restart value
[elogind.git] / units / systemd-fsck@.service.in
index 1cade4e6023daf456f3015cf7518b1784aae4d09..e229cdcb83eb63ceab66e364ebb686b927db53a8 100644 (file)
@@ -9,13 +9,13 @@
 Description=File System Check on %f
 Documentation=man:systemd-fsck@.service(8)
 DefaultDependencies=no
-BindTo=%i.device
+BindsTo=%i.device
 After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
 Before=shutdown.target
 
 [Service]
 Type=oneshot
-RemainAfterExit=no
+RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-fsck %f
 StandardOutput=journal+console
 TimeoutSec=0