aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemd/system/fedora-autoswap.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/systemd/system/fedora-autoswap.service b/systemd/system/fedora-autoswap.service
index d7f667da..044d8d08 100644
--- a/systemd/system/fedora-autoswap.service
+++ b/systemd/system/fedora-autoswap.service
@@ -2,9 +2,8 @@
Description=Enable all detected swap partitions
DefaultDependencies=no
Conflicts=shutdown.target
-Before=shutdown.target emergency.service emergency.target
-After=local-fs.target
-Requires=local-fs.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=swap.target shutdown.target
[Service]
ExecStart=/lib/systemd/fedora-autoswap