X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fvar-run.mount;h=c513dfecd23a8cdafc10f33efd6a5350d76bcee7;hp=f7862895366987880e747d864ccf819bdf0db841;hb=8112e84f657839a056afb411249a627956518b24;hpb=3c268bdf8a8d56799987c1bddb46371867887062 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