Dear list,
I want to enable/disable the swap partition before/after hibernation.
However, it seems I cannot get the service to run early enough to avoid
the error:
Failed to hibernate system via logind: Sleep verb not supported
The .service file looks as follows:
[Unit]
Description=…
> If clients ask logind whether hibernation is available or try to
> initiate hibernation we check whether swap is available and refuse
> if it isn't. This means if you add the swap only after the
> hibernation was already initiated then this will not be able to
> affect the check anymore.
I