Displaying 1 result from an estimated 1 matches for "mongrel_rails_stop".
2006 Sep 01
2
Making Mongrel play well with Monit
...with timeout 10 seconds
then restart
group server
#check mongrel processes
#6001
check process mongrel-6001 with pidfile
/home/xxx/sshare/app/log/mongrel.6001.pid
start program = "/home/xxx/scripts/mongrel_rails_start 6001"
stop program = "/home/xxx/scripts/mongrel_rails_stop 6001"
if totalmem > 50.0 MB for 5 cycles then restart
if failed port 6001 protocol http
with timeout 10 seconds
then restart
group mongrel
#6002
check process mongrel-6002 with pidfile
/home/xxx/sshare/app/log/mongrel.6002.pid
start program = "/home/xxx...