chiark / gitweb /
units: In MeeGo there was more than one ExecStart lines present that caused systemd...
[elogind.git] / units / var-run.mount
index cd3889e..ab4da42 100644 (file)
@@ -8,9 +8,12 @@
 [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]
-What=/dev/.run
+What=/run
 Where=/var/run
 Type=bind
 Options=bind