summaryrefslogtreecommitdiff
path: root/units/systemd-fsck-root.service.in
diff options
context:
space:
mode:
authorDidier Roche <didrocks@ubuntu.com>2015-01-26 17:30:00 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2015-02-18 16:33:46 +0100
commit66f2ff06ca4ee5ea686b884e2923a31832ad8fe4 (patch)
treefb8b7bcea5ccf32eef2fae0df44e26d397032306 /units/systemd-fsck-root.service.in
parentd5e41df6d7a8e1814dded5e55e2c5a497fcf24dc (diff)
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.
Diffstat (limited to 'units/systemd-fsck-root.service.in')
-rw-r--r--units/systemd-fsck-root.service.in3
1 files changed, 2 insertions, 1 deletions
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