I need a way to restart the plex server IF it stops.
My PLEX server on Freenas is installed through the plugin. For the last few updates (I'm now on FreeNAS 11.0-U4 and Plex Media Server 184.108.40.20625 on a plex pass) the Plex Media server shuts itself off periodically. Sometimes it shuts off every day and sometimes it shuts down once a week. How can I make a script or cron job that checks to see if the PLEX media server is running and , if it is not running, restart the plex server?