chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update README
[elogind.git]
/
units
/
var-lock.mount
diff --git
a/units/var-lock.mount
b/units/var-lock.mount
index dbfee59a7a960aecb146090fcc82b6dbd7db84a7..80e1bab2618fe62872d51c7c47c8016b10813fd2 100644
(file)
--- a/
units/var-lock.mount
+++ b/
units/var-lock.mount
@@
-8,8
+8,11
@@
[Unit]
Description=Lock Directory
Before=local-fs.target
+# skip mounting if the directory does not exist or is a symlink
+ConditionPathIsDirectory=/var/lock
[Mount]
-What=
tmpfs
+What=
/run/lock
Where=/var/lock
-Type=tmpfs
+Type=bind
+Options=bind