configuration-templates – Rev 150
?pathlinks?
###########################################################################
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
###########################################################################
check process plexmediaserver matching "Plex Media Server"
start program "/bin/systemctl start plexmediaserver"
stop program "/bin/systemctl stop plexmediaserver"
if failed host 127.0.0.1 port 32400 type tcp then restart
# if 5 restarts within 5 cycles then timeout