@@ -1,22 +0,0 @@
1−# Monit is configured via /etc/monit/monitrc and /etc/monit/conf-enabled/*
5−# Replace USER in all the monit/* files
6−# Move start.sh and stop.sh out of monit/
7−# Copy this file to /etc/monit/conf-enabled/worker
11−# monit status # see currently running things
12−# monit restart elm-worker # restart the Haskell server
15−# monit quit # quit monit
19−check process elm-worker with pidfile /home/USER/compiler/worker/worker.pid
20− start program = "/home/USER/compiler/worker/start.sh" with timeout 60 seconds
21− stop program = "/home/USER/compiler/worker/stop.sh"
22− if failed host localhost port 8000 protocol http and request "/" then restart