Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[SID - Unstable] Cron Systemctl Suspend

$
0
0
Good afternoon everyone!

I have a cronjob that calls a script that checks if the notebook battery is less than or equal to a certain percentage, if so, it executes: systemctl suspend

For this to work, I have to define a polkit rule. I have it defined and everything worked fine, however, I recently updated the system and now systemctl suspend is no longer executed successfully. In journalctl I see:

Code:

kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Is anyone else experiencing this too? Did something change in the recent update?

PS: I don't know if I created the topic in the right place, if not, I apologize. Thanks for any help!

Statistics: Posted by rhuanpk — 2024-07-06 15:47 — Replies 3 — Views 49



Viewing all articles
Browse latest Browse all 3474

Trending Articles