lib/templates/mongrel/mongrel_cluster.monitrc.erb in capitate-0.2.3 vs lib/templates/mongrel/mongrel_cluster.monitrc.erb in capitate-0.2.5

- old
+ new

@@ -1,8 +1,8 @@ <% processes.each do |process| %> -check process mongrel_cluster_<%= application %>_<%= process[:port] %> with pidfile <%= process[:pid_path] %> - group mongrel_cluster_<%= application %> +check process <%= mongrel_application %>_<%= process[:port] %> with pidfile <%= process[:pid_path] %> + group <%= mongrel_application %> start program = "<%= process[:name] %> start <%= process[:start_options] %>" stop program = "<%= process[:name] %> stop <%= process[:stop_options] %>" if failed host 127.0.0.1 port <%= process[:port] %> protocol http and request "/" then alert if totalmem > 100 Mb then restart \ No newline at end of file