I'm trying to run a script in /etc/pm/sleep.d
on resume from sleep. I'm not seeing any indication that the script ever gets run when I sleep the machine with "systemctl suspend
". I do see that when I use "pm-suspend
" to sleep the machine the script does get executed.
Whats the difference between systemctl and pm-suspend? Ubuntu 16.04.