Last active
December 10, 2015 22:28
-
-
Save bsphere/4502233 to your computer and use it in GitHub Desktop.
Monit config file for Node.js and Upstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check host localhost with address 127.0.0.1 | |
start "/sbin/start myapp" | |
stop "/sbin/stop myapp" | |
if failed port 3000 protocol HTTP | |
request / | |
with timeout 5 seconds | |
then restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment