chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemd: reconnect to syslog as soon as the journal is fully up
[elogind.git]
/
units
/
var-lock.mount
diff --git
a/units/var-lock.mount
b/units/var-lock.mount
index 17c4f522ad7058c7b6ab81652ec90ca5a109e884..07277adac3a299cd80e30272daf437908b8effd4 100644
(file)
--- a/
units/var-lock.mount
+++ b/
units/var-lock.mount
@@
-8,12
+8,12
@@
[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
+ConditionPathIsSymbolicLink=!/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