summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/volatile-binds/files/volatile-binds.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/volatile-binds/files/volatile-binds.service.in')
-rw-r--r--meta/recipes-core/volatile-binds/files/volatile-binds.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/volatile-binds/files/volatile-binds.service.in b/meta/recipes-core/volatile-binds/files/volatile-binds.service.in
index 52384c8264..5a0055bec3 100644
--- a/meta/recipes-core/volatile-binds/files/volatile-binds.service.in
+++ b/meta/recipes-core/volatile-binds/files/volatile-binds.service.in
@@ -3,7 +3,8 @@ Description=Bind mount volatile @where@
DefaultDependencies=no
Before=local-fs.target
RequiresMountsFor=@whatparent@ @whereparent@
-ConditionPathIsReadWrite=@whatparent@
+ConditionPathIsReadWrite=|@whatparent@
+ConditionPathExists=|!@whatparent@
ConditionPathExists=@where@
ConditionPathIsReadWrite=!@where@