summaryrefslogtreecommitdiff
path: root/units/systemd-machined.service.in
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2017-06-16 18:22:50 -0400
committerFelipe Sateler <fsateler@gmail.com>2017-06-21 16:20:11 -0400
commit2221c17afb3df3c4801c710ebcc7677268b21a95 (patch)
tree454bdc3f9292cac97e71a952b6df1af5542ce994 /units/systemd-machined.service.in
parent78d1039d6b891c41ff68cdaa2bc9e9796e8d14c3 (diff)
downloadsystemd-2221c17afb3df3c4801c710ebcc7677268b21a95.tar.gz
machined: add RequiresMountsFor=/var/lib/machines
Since any part of the path could be remote mounted, make sure they are before starting machined
Diffstat (limited to 'units/systemd-machined.service.in')
-rw-r--r--units/systemd-machined.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-machined.service.in b/units/systemd-machined.service.in
index 0b0bbf272c..0fbb302888 100644
--- a/units/systemd-machined.service.in
+++ b/units/systemd-machined.service.in
@@ -11,6 +11,7 @@ Documentation=man:systemd-machined.service(8)
Documentation=http://www.freedesktop.org/wiki/Software/systemd/machined
Wants=machine.slice
After=machine.slice
+RequiresMountsFor=/var/lib/machines
[Service]
ExecStart=@rootlibexecdir@/systemd-machined