til/Applications/System/systemd-swap.md

19 lines
327 B
Markdown

# [systemd-swap](https://github.com/Nefelim4ag/systemd-swap)
| Distribution | Package |
| ------------ | -------------- |
| Arch Linux | `systemd-swap` |
Enable and start service:
```sh
systemctl enable --now systemd-swap
```
Edit `/etc/systemd/swap.conf`:
```txt
swapfc_enabled=1
swapfc_force_preallocated=1
```