Tookmund/Swapspace

Manjaro ARH based AUR Install Query

PeterKW opened this issue · 6 comments

I have downloaded Swapspace from the AUR successfully: https://aur.archlinux.org/packages/swapspace

I'm not quite sure what to do next to get it going. The swapspace folder exists in /var/lib/ as attached but I don't see swapspace running or making a difference to my swap file even after a restart so I'm assuming I have missed something. man -l doc/swapspace.8 outputs No such file or directory with No manual entry for swapspace

Is there anything else to try to get it working from the AUR?
image

Ah okay, do I just need to uncomment some of the lines in /etc/swapspace.conf ?

image
It says -bash: systemd: command not found which I don't really understand. It doesn't look like systemd is disabled in my settings gui?
Anything else that I could try?
Thank you very much

Whoops sorry wrong command.

systemctl status swapspace

Most likely it's running and just not doing anything.

Thank you very much. I pressume it will need to activate the next time I startup my computer and it'll make the swapfiles required without me doing anything more?

$ systemctl status swapspace
● swapspace.service - dynamic swap manager
Loaded: loaded (/usr/lib/systemd/system/swapspace.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:swapspace(8)

systemctl enable swapspace
Created symlink /etc/systemd/system/multi-user.target.wants/swapspace.service → /usr/lib/systemd/system/swapspace.service.

swapon
NAME TYPE SIZE USED PRIO
/swapfile file 512M 512M -2

Now that you've enabled it, it should start itself on next reboot. To start it immediately, use: systemctl start swapspace

After that it should just work, yes. Please reopen this issue if it doesn't.