configuration-templates – Blame information for rev 178

Subversion Repositories:
Rev:
Rev Author Line No. Line
178 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
3 ###########################################################################
4  
5 check process caddy matching "caddy"
6 start program "/bin/systemctl start caddy"
7 stop program "/bin/systemctl stop caddy"
8 if failed host 127.0.0.1 port 80 type tcp then restart
9 # if 5 restarts within 5 cycles then timeout