units: skip mounting /tmp if it is a symlink
We shouldn't get confused if people have symlinked /tmp somewhere, so let's simply skip the mount then.
This commit is contained in:
parent
908c32e0f3
commit
8ebf02d6f3
|
@ -9,6 +9,7 @@
|
||||||
Description=Temporary Directory
|
Description=Temporary Directory
|
||||||
Documentation=man:hier(7)
|
Documentation=man:hier(7)
|
||||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
||||||
|
ConditionPathIsSymbolicLink=!/tmp
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=umount.target
|
Conflicts=umount.target
|
||||||
Before=local-fs.target umount.target
|
Before=local-fs.target umount.target
|
||||||
|
|
Loading…
Reference in New Issue