summaryrefslogtreecommitdiff
path: root/units/var-lock.mount
diff options
context:
space:
mode:
Diffstat (limited to 'units/var-lock.mount')
-rw-r--r--units/var-lock.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/var-lock.mount b/units/var-lock.mount
index 80e1bab261..07277adac3 100644
--- a/units/var-lock.mount
+++ b/units/var-lock.mount
@@ -10,6 +10,7 @@ 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]
What=/run/lock