chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that we can...
[elogind.git]
/
units
/
var-run.mount
diff --git
a/units/var-run.mount
b/units/var-run.mount
index f7862895366987880e747d864ccf819bdf0db841..ab4da424c966e99a6ee521f36c1c7b0d44cc6e47 100644
(file)
--- a/
units/var-run.mount
+++ b/
units/var-run.mount
@@
-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
+Type=
bind
+Options=
bind