summaryrefslogtreecommitdiffstats
path: root/units/tmp.mount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-10-26 17:24:55 +0200
committerLennart Poettering <lennart@poettering.net>2017-11-10 19:52:41 +0100
commit3e3852b3c6c61506963112fd218a86b673fc61e6 (patch)
tree8009afd8598ddf721c9a53ec8a0f935bf9909a88 /units/tmp.mount
parentcore: when a unit template is specified in SYSTEMD_WANTS=, instantiate it wit... (diff)
downloadsystemd-3e3852b3c6c61506963112fd218a86b673fc61e6.tar.xz
systemd-3e3852b3c6c61506963112fd218a86b673fc61e6.zip
core: make "tmpfs" dependencies on swapfs a "default" dep, not an "implicit"
There should be a way to turn this logic of, and DefaultDependencies= appears to be the right option for that, hence let's downgrade this dependency type from "implicit" to "default, and thus honour DefaultDependencies=. This also drops mount_get_fstype() as we only have a single user needing this now. A follow-up for #7076.
Diffstat (limited to 'units/tmp.mount')
-rw-r--r--units/tmp.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/tmp.mount b/units/tmp.mount
index a057fa1cf9..3a333d22ec 100644
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -13,6 +13,7 @@ ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
+After=swap.target
[Mount]
What=tmpfs