Hello, using systemd, you can put scripts in /usr/lib64/systemd/system-sleep/ to run scripts if the system suspend or wake up from suspend. This was working with =sys-apps/systemd-233-r6 but not anymore with =sys-apps/systemd-236-r5 I made sure I updated systemd only [1] https://www.freedesktop.org/software/systemd/man/systemd-suspend.service.html Steps to reproduce: Create a script, e.g. > cat /usr/lib64/systemd/system-sleep/wakeup.sh #!/bin/bash logger -t $0 "Pre or post?: $1"; logger -t $0 "Did run with $(systemctl --version)"; Make sure it is executable, suspend the system via systemctl suspend On systemd-233-r6 you will see the log entries for pre and post. With 236-r5 you just see nothing in the log. Greetings
Cross, by try and error, I just found out it moved to /lib64/systemd/system-sleep/
Yeah, you'll need to move those to /lib/systemd/system-sleep. If there are packages that install files in /usr/lib/systemd/system-sleep, and they are not fixed after a rebuild, please file separate bugs for each package.
Just found the news, should had have a look into it earlier...