summaryrefslogtreecommitdiff
path: root/units/var-run.mount
diff options
context:
space:
mode:
Diffstat (limited to 'units/var-run.mount')
-rw-r--r--units/var-run.mount4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/var-run.mount b/units/var-run.mount
index cd3889ebce..c513dfecd2 100644
--- a/units/var-run.mount
+++ b/units/var-run.mount
@@ -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=/dev/.run
+What=/run
Where=/var/run
Type=bind
Options=bind