Quote Originally Posted by gharris999 View Post
https://github.com/gharris999/SrvrPowerCtrl

..though the code there is a bit stale. On my personal copy, I've modified the code to use systemd/systemctl for all the power management events.
Thanks for this, though I'm not technical enough to do this on my own.