X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fvar-run.mount;h=c513dfecd23a8cdafc10f33efd6a5350d76bcee7;hp=add284ae8dd6ece1a2c976356454890b94cb0771;hb=4160ec67ba40eee5d14c5b96d37c89a3a5356f34;hpb=dfca381db341205b7a68f40ef2b7550ac6972cab diff --git a/units/var-run.mount b/units/var-run.mount index add284ae8..c513dfecd 100644 --- a/units/var-run.mount +++ b/units/var-run.mount @@ -8,8 +8,11 @@ [Unit] Description=Runtime Directory Before=local-fs.target +# skip mounting if the directory does not exist or is a symlink +ConditionPathIsDirectory=/var/run [Mount] -What=tmpfs +What=/run Where=/var/run -Type=tmpfs +Type=bind +Options=bind