chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
units: In MeeGo there was more than one ExecStart lines present that caused systemd...
[elogind.git]
/
units
/
var-run.mount
diff --git
a/units/var-run.mount
b/units/var-run.mount
index cd3889ebcedef2d28cba23ed4aa7128f318f64c6..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=/
dev/.
run
+What=/run
Where=/var/run
Type=bind
Options=bind
Where=/var/run
Type=bind
Options=bind