til/Applications/System/systemd-swap.md

19 lines
419 B
Markdown
Raw Normal View History

2020-06-08 16:36:18 +00:00
# [systemd-swap](https://github.com/Nefelim4ag/systemd-swap)
| Distribution | Package |
| ------------ | -------------- |
| Arch Linux | `systemd-swap` |
2020-12-01 16:10:02 +00:00
| Fedora | `systemd-swap` |
2020-06-08 16:36:18 +00:00
2020-10-13 05:55:06 +00:00
Create directory if not exist `/etc/systemd/swap.conf.d` and edit `/etc/systemd/swap.conf.d/overrides.conf`:
2020-06-08 16:36:18 +00:00
```txt
swapfc_enabled=1
```
2020-08-13 15:17:43 +00:00
Enable and start service:
```sh
systemctl enable --now systemd-swap.service
```