aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-19 03:04:14 +0100
committerBill Nottingham <notting@redhat.com>2010-11-22 21:33:05 -0500
commit525a4ba38863388469346d897347f2bf28185483 (patch)
tree1fa5c8015e66d8ca88cd8cf98689012ef927e613
parente8fbd3e8f6588cb6051c5e6492316fd6b3eef8cf (diff)
downloadinitscripts-525a4ba38863388469346d897347f2bf28185483.tar
initscripts-525a4ba38863388469346d897347f2bf28185483.tar.gz
initscripts-525a4ba38863388469346d897347f2bf28185483.tar.bz2
initscripts-525a4ba38863388469346d897347f2bf28185483.tar.xz
initscripts-525a4ba38863388469346d897347f2bf28185483.zip
fedora-autoswap: order before swap.target like all other swaps
-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