Tookmund / Swapspace

A fork of Jeroen T. Vermeulen's excellent dynamic swap space manager
GNU General Public License v2.0
139 stars 13 forks source link

Manjaro ARH based AUR Install Query #28

Closed PeterKW closed 3 years ago

PeterKW commented 3 years ago

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

PeterKW commented 3 years ago

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

Tookmund commented 3 years ago

Assuming everything is installed correctly by the AUR package it should just work, no config file editing required.

The AUR package is maintained by @chungy Pinging in case he has specific advice.

Have you tried checking the output of:

systemd status swapspace

If it says disabled, try:

systemd enable swapspace

PeterKW commented 3 years ago

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

Tookmund commented 3 years ago

Whoops sorry wrong command.

systemctl status swapspace

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

PeterKW commented 3 years ago

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

Tookmund commented 3 years ago

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.