Hi Peter,
thanks for testing that.
On 08/06/2024 16.42, Peter De Wachter wrote:
Those locations work. But the correct environment variable turns out to be
SYSTEMD_SLEEP_FREEZE_USER_SESSIONS (plural), the NEWS file has it wrong.
Hi Luca,
do you need a cloned bug against systemd for the variable mismatch?
(I've no idea why suspend seemed to work for me yesterday with the wrong
variable. Today it definitely didn't.) The overrides probably also need to
be installed for the other service files that run systemd-sleep:
systemd-hybrid-sleep.service, systemd-hibernate.service and
systemd-suspend-then-hibernate.service.
Can you give some hints here?
And if it is the case that we need these override variables in many
places, isn't there an easier way to "configure systemd-sleep behavior"
regardless of the way it is being called?
Andreas