chiark / gitweb /
units: In MeeGo there was more than one ExecStart lines present that caused systemd...
[elogind.git] / units / var-run.mount
index c082507..ab4da42 100644 (file)
@@ -8,11 +8,12 @@
 [Unit]
 Description=Runtime Directory
 Before=local-fs.target
 [Unit]
 Description=Runtime Directory
 Before=local-fs.target
+# skip mounting if the directory does not exist or is a symlink
+ConditionPathIsDirectory=/var/run
+ConditionPathIsSymbolicLink=!/var/run
 
 [Mount]
 
 [Mount]
-What=tmpfs
+What=/run
 Where=/var/run
 Where=/var/run
-Type=tmpfs
-
-[Install]
-WantedBy=local-fs.target
+Type=bind
+Options=bind