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=f7862895366987880e747d864ccf819bdf0db841;hb=4160ec67ba40eee5d14c5b96d37c89a3a5356f34;hpb=65ae3821ff45cf65e53cab82a81ea00cfec942a8 diff --git a/units/var-run.mount b/units/var-run.mount index f78628953..c513dfecd 100644 --- a/units/var-run.mount +++ b/units/var-run.mount @@ -8,9 +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 -Options=mode=755 +Type=bind +Options=bind