UNplugged icon indicating copy to clipboard operation
UNplugged copied to clipboard

PlexMediaServer Watchdog Plugin

Open scarstens opened this issue 10 years ago • 1 comments

So I was hoping I could look at plugins and figure out how to make my own... I'm in way over my head. I figured it was a longshot, but wanted to see if you could make a plugin to "installs a cron" on reboot, the cron would execute a .sh script that checks if plex service is running, if not, restart it. I've seen a few things from googling, but nothing "stays with my OS on reboot" from the flash drive.

If your not interested, I understand. Just tired of rebooting my server simply because plex service goes down.

scarstens avatar Jan 31 '14 03:01 scarstens

you can always restart PlexMediaServer via the unRaid WebGui. no need to restart the whole server. or type "/etc/rc.d/rc.plexmediaserver restart" in a telnet session.

the easiest way to add a cronjob on every reboot would be the /boot/go file. if you have a finished .sh script to restart plex, i could add this whole functionality into my plex updater script.

Benni-chan avatar Jan 31 '14 16:01 Benni-chan