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