Open dlenski opened 4 years ago
For reasons that aren't clear to me, on Ubuntu 16.4 (systemd 229-4ubuntu21.27
) it appears that this script is only executed if placed in /lib/systemd/system-sleep
, and not if placed in /usr/lib/systemd/system-sleep
…
Would be good if others can confirm whether or not this issue exists on other versions of systemd.
Uses the /lib/systemd/system-sleep mechanism. See https://www.freedesktop.org/software/systemd/man/systemd-suspend.service.html for how this works.
(ping #153, #167)