Having an issue with my Unraid server where it randomly stops responding to network requests, the machine doesn't seem to shut down as fans are still running but is no longer responding. Had luck waking it back up with wakeonlan once but hasn't worked since. Previously when I used this same hardware with ubuntu server I could stop this behaviour by using;
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
However this doesn't work with unraid, is there a similar command I can use for Unraid?