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=90dfe0edaa0a1c0327efa63cf70e6a0c2fddc1fe;hb=2b583ce6576d4a074ce6f1570b3e60b65c64ae7d;hpb=bb4f237c651623ca2b523fb3ac14268fac9bb487 diff --git a/units/var-run.mount b/units/var-run.mount index 90dfe0eda..c513dfecd 100644 --- a/units/var-run.mount +++ b/units/var-run.mount @@ -8,12 +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 - -[Install] -WantedBy=local-fs.target +Type=bind +Options=bind