File: http://svn.grimore.org/configuration-templates/monit/debian/templates/private-bower -
########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### check process private-bower with pidfile /var/run/private-bower.pid start program "/etc/init.d/private-bower restart" stop program "/etc/init.d/private-bower stop" if failed host 127.0.0.1 port 5678 type tcp then restart # if 5 restarts within 5 cycles then timeout