I need to restart a process after suspend As root, I created an executable script in /usr/lib/systemd/system-sleep:
case "$1/$2" in pre/*) ;; post/*) echo 'foo' ;; esac On suspend/resume journalctl -u test.sh -- No entries What's my mistake? Thanks. -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue