Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

PlexMediaServer Watchdog Plugin #45

Open
scarstens opened this issue Jan 31, 2014 · 1 comment
Open

PlexMediaServer Watchdog Plugin #45

scarstens opened this issue Jan 31, 2014 · 1 comment

Comments

@scarstens
Copy link

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.

@Benni-chan
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants