Changeset 437
- Timestamp:
- 02/29/08 18:03:45 (10 months ago)
- Files:
-
- trunk/CHANGELOG (modified) (1 diff)
- trunk/deprec.gemspec (modified) (1 diff)
- trunk/lib/deprec/templates/monit/monit_mongrel.erb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/CHANGELOG
r425 r437 1 1 == SVN 2 3 == 1.99.14 (Feb 21, 2008) 4 5 * monit template now uses :mongrel_port instead of 8000 2 6 3 7 == 1.99.11 (Feb 21, 2008) trunk/deprec.gemspec
r433 r437 9 9 spec.homepage = 'http://www.deprec.org/' 10 10 spec.rubyforge_project = 'deprec' 11 spec.version = '1.99.1 2'11 spec.version = '1.99.14' 12 12 spec.summary = 'deployment recipes for capistrano' 13 13 spec.description = <<-EOF trunk/lib/deprec/templates/monit/monit_mongrel.erb
r430 r437 1 1 <% mongrel_servers.times do |counter| -%> 2 check process mongrel-<%= 8000+counter%> with pidfile <%= mongrel_pid_dir %>/mongrel.<%=8000+counter%>.pid2 check process mongrel-<%=mongrel_port+counter%> with pidfile <%= mongrel_pid_dir %>/mongrel.<%=mongrel_port+counter%>.pid 3 3 group mongrel 4 start program = "/usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -a 127.0.0.1 -c <%= deploy_to %>/current --user <%= mongrel_user %> --group <%= mongrel_group %> -p <%= 8000+counter%> -P <%= mongrel_pid_dir %>/mongrel.<%=8000+counter%>.pid -l <%= mongrel_log_dir %>/mongrel.<%=8000+counter%>.log"5 stop program = "/usr/local/bin/ruby /usr/local/bin/mongrel_rails stop -P <%= mongrel_pid_dir %>/mongrel.<%= 8000+counter%>.pid"4 start program = "/usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -a 127.0.0.1 -c <%= deploy_to %>/current --user <%= mongrel_user %> --group <%= mongrel_group %> -p <%=mongrel_port+counter%> -P <%= mongrel_pid_dir %>/mongrel.<%=mongrel_port+counter%>.pid -l <%= mongrel_log_dir %>/mongrel.<%=mongrel_port+counter%>.log" 5 stop program = "/usr/local/bin/ruby /usr/local/bin/mongrel_rails stop -P <%= mongrel_pid_dir %>/mongrel.<%=mongrel_port+counter%>.pid" 6 6 7 if failed host 127.0.0.1 port <%= 8000+counter%> protocol http7 if failed host 127.0.0.1 port <%=mongrel_port+counter%> protocol http 8 8 with timeout 10 seconds 9 9 then alert
