From 66f2ff06ca4ee5ea686b884e2923a31832ad8fe4 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 26 Jan 2015 17:30:00 +0100 Subject: Add fsckd service and socket, retarget systemd-fsck systemd-fsckd can be socket-activated by systemd-fsck process. Reflect that in the different unit files. --- units/systemd-fsck-root.service.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'units/systemd-fsck-root.service.in') diff --git a/units/systemd-fsck-root.service.in b/units/systemd-fsck-root.service.in index 6d7657853e..f493445b86 100644 --- a/units/systemd-fsck-root.service.in +++ b/units/systemd-fsck-root.service.in @@ -9,12 +9,13 @@ Description=File System Check on Root Device Documentation=man:systemd-fsck-root.service(8) DefaultDependencies=no +Wants=systemd-fsckd.socket Before=local-fs.target shutdown.target +After=systemd-fsckd.socket ConditionPathIsReadWrite=!/ [Service] Type=oneshot RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-fsck -StandardOutput=journal+console TimeoutSec=0 -- cgit v1.2.3-54-g00ecf