Changeset 430

Show
Ignore:
Timestamp:
02/26/08 01:06:16 (11 months ago)
Author:
mbailey
Message:

replaced path with config variable

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/deprec/templates/monit/monit_mongrel.erb

    r420 r430  
    11<% mongrel_servers.times do |counter| -%> 
    2   check process mongrel-<%=8000+counter%> with pidfile <%=deploy_to%>/shared/tmp/pids/mongrel.<%=8000+counter%>.pid 
     2  check process mongrel-<%=8000+counter%> with pidfile <%= mongrel_pid_dir %>/mongrel.<%=8000+counter%>.pid 
    33        group mongrel 
    44        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"