chiark / gitweb /
units: In MeeGo there was more than one ExecStart lines present that caused systemd...
[elogind.git] / units / var-run.mount
index 8ccb4bb28e9b4ae607fc816573db973a1b3127f4..ab4da424c966e99a6ee521f36c1c7b0d44cc6e47 100644 (file)
@@ -8,9 +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
-Options=mode=755,nosuid,nodev,noexec
+Type=bind
+Options=bind