chiark / gitweb /
use /run instead of /dev/.run
[elogind.git] / units / var-run.mount
index 8ccb4bb28e9b4ae607fc816573db973a1b3127f4..c513dfecd23a8cdafc10f33efd6a5350d76bcee7 100644 (file)
@@ -8,9 +8,11 @@
 [Unit]
 Description=Runtime Directory
 Before=local-fs.target
+# skip mounting if the directory does not exist or is a symlink
+ConditionPathIsDirectory=/var/run
 
 [Mount]
-What=tmpfs
+What=/run
 Where=/var/run
-Type=tmpfs
-Options=mode=755,nosuid,nodev,noexec
+Type=bind
+Options=bind