configuration-templates
/monit/debian/templates/mylar3 |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
########################################################################### |
|
check process mylar3 matching "Mylar" |
start program "/bin/systemctl start mylar3" |
stop program "/bin/systemctl stop mylar3" |
if failed host 127.0.0.1 port 8090 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |