foundObjects / zram-swap

A simple zram swap service for modern systemd Linux
MIT License
309 stars 44 forks source link

doesn't start after reboot #1

Closed louisabraham closed 4 years ago

louisabraham commented 4 years ago

Hi, I installed zram-swap with the PKGBUILD there.

It works well but doesn't activate after a restart.

foundObjects commented 4 years ago

I haven't done too much testing on Arch derived distros unfortunately. What output do you get from systemctl status zram-swap at boot before you start the service manually? Is there anything in the log snippet that indicates a script failure somewhere? If not, if the service just isn't starting for some reason, try systemctl enable zram-swap and reboot to see if the service was somehow disabled post install.

I skimmed the pkgbuild you linked, it doesn't look like it starts or enables the service after install. I'd ping the author and ask him to update it if you think that it should.

louisabraham commented 4 years ago

Thanks for your reply!

It looks like the PKGBUILD just doesn't start the service. So I just launched those commands after install:

sudo systemctl daemon-reload
sudo systemctl enable zram-swap.service
sudo systemctl start zram-swap.service