This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/conf/monitrc
2016-11-17 14:31:11 -08:00

17 lines
666 B
Text

set daemon 10 with start delay 30
set httpd port 2812 and
use address localhost # only accept connection from localhost
allow localhost # allow localhost to connect to the server and
allow admin:monit # require user 'admin' with password 'monit'
check host buildmanager with address localhost
start program = "/usr/bin/sv start /etc/service/buildmanager" with timeout 10 seconds
stop program = "/usr/bin/sv kill /etc/service/buildmanager"
if failed port 8787 protocol http
request "/"
status = 405
with timeout 3 seconds
for 3 cycles
then restart
if 10 restarts within 10 cycles then timeout