Restart fancontrol via systemd upon wake

Fan contral doesn't like when the sensors aren't there. This just restarts fancontrol once everything is ready to go. There must be a simpler, better solution but this works for now.

Create a file:

sudo vim /lib/systemd/system-sleep/fancontrol


case "$1" in
        sleep 5
        systemctl restart fancontrol.service

Make it executable:

sudo chmod +x /lib/systemd/system-sleep/fancontrol