X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fvar-run.mount;h=c513dfecd23a8cdafc10f33efd6a5350d76bcee7;hb=2b583ce6576d4a074ce6f1570b3e60b65c64ae7d;hp=cd3889ebcedef2d28cba23ed4aa7128f318f64c6;hpb=37f85e66e8f396b6f758e063531b95531aef628e;p=elogind.git diff --git a/units/var-run.mount b/units/var-run.mount index cd3889ebc..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=/dev/.run +What=/run Where=/var/run Type=bind Options=bind