chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journald: allocate PAGE_SIZE bytes for selinux label length
[elogind.git]
/
units
/
var-run.mount
diff --git
a/units/var-run.mount
b/units/var-run.mount
index c082507b1ae28d24fe4d689ad472533b7928a887..ab4da424c966e99a6ee521f36c1c7b0d44cc6e47 100644
(file)
--- a/
units/var-run.mount
+++ b/
units/var-run.mount
@@
-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