Skip to content
Permalink
Browse files

Comments

  • Loading branch information...
davidmerfield committed Mar 7, 2019
1 parent 9828511 commit a370d6f059d67b0924b7348e5abcabc0e78244e6
Showing with 4 additions and 2 deletions.
  1. +4 −2 config/monit.rc
@@ -2,7 +2,8 @@ set logfile /var/www/blot/logs/monit.log

# The route which responds is in app/index.js
# If monit fails to recieve a 200 OK response from node
# then it will attempt to restart its upstart service
# for three consecutive attempts then it will attempt
# to restart its upstart service
check process nodejs with pidfile "/var/run/blot.pid"
start program = "/sbin/start blot"
stop program = "/sbin/stop blot"
@@ -14,7 +15,8 @@ check process nodejs with pidfile "/var/run/blot.pid"

# The route which responds is in config/nginx/server.conf
# If monit fails to recieve a 200 OK response from NGINX
# then it will attempt to restart its upstart service
# for three consecutive attempts then it will attempt to
# restart its upstart service
check process nginx with pidfile "/var/run/nginx.pid"
start program = "/sbin/start nginx"
stop program = "/sbin/stop nginx"

0 comments on commit a370d6f

Please sign in to comment.
You can’t perform that action at this time.