diff options
author | Bill Nottingham <notting@redhat.com> | 2010-10-15 23:20:15 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-10-15 23:20:15 -0400 |
commit | 588fadded55c6d808b5a2b076da87d32a7b885e6 (patch) | |
tree | 85ca64e72adadd015b49160c528299981cdb22bc /systemd/system/fedora-autoswap.service | |
parent | 2d238bd89255740f308f51a50b4cfae2c713293f (diff) | |
download | initscripts-588fadded55c6d808b5a2b076da87d32a7b885e6.tar initscripts-588fadded55c6d808b5a2b076da87d32a7b885e6.tar.gz initscripts-588fadded55c6d808b5a2b076da87d32a7b885e6.tar.bz2 initscripts-588fadded55c6d808b5a2b076da87d32a7b885e6.tar.xz initscripts-588fadded55c6d808b5a2b076da87d32a7b885e6.zip |
Use systemd's support for normal swapon; only handle autoswap here.initscripts-9.21.systemd-1
Diffstat (limited to 'systemd/system/fedora-autoswap.service')
-rw-r--r-- | systemd/system/fedora-autoswap.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/system/fedora-autoswap.service b/systemd/system/fedora-autoswap.service new file mode 100644 index 00000000..c5087967 --- /dev/null +++ b/systemd/system/fedora-autoswap.service @@ -0,0 +1,13 @@ +[Unit] +Description=Enable all detected swap partitions +DefaultDependencies=no +Conflicts=shutdown.target +Before=shutdown.target emergency.service emergency.target +After=fedora-mountall.service fedora-init-crypto-3.service +Requires=fedora-mountall.service fedora-init-crypto-3.service + +[Service] +ExecStart=/lib/systemd/fedora-autoswap +Type=oneshot +TimeoutSec=0 +RemainAfterExit=yes |