summaryrefslogtreecommitdiffstats
path: root/core/modules/zram-swap/data/etc/systemd/system/zram-swap.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/zram-swap/data/etc/systemd/system/zram-swap.service')
-rw-r--r--core/modules/zram-swap/data/etc/systemd/system/zram-swap.service7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/modules/zram-swap/data/etc/systemd/system/zram-swap.service b/core/modules/zram-swap/data/etc/systemd/system/zram-swap.service
index 60a23adb..b9e89675 100644
--- a/core/modules/zram-swap/data/etc/systemd/system/zram-swap.service
+++ b/core/modules/zram-swap/data/etc/systemd/system/zram-swap.service
@@ -1,8 +1,11 @@
[Unit]
Description=Setup zram swap partitions if necessary
DefaultDependencies=no
-Wants=swap.target
-Before=swap.target
+# Do NOT do this. This delays bootup by a lot, as swap.target
+# is a dependency of sysinit.target, which again is a dependency
+# of pretty much everything.
+#Wants=swap.target
+#Before=swap.target
# As our script checks whether there are other swap partitions available...
After=setup-partitions.service