Changeset 420

Show
Ignore:
Timestamp:
02/21/08 17:53:03 (11 months ago)
Author:
mbailey
Message:

changed order of arguments to match what mongrel_cluster uses

Files:

Legend:

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

    r414 r420  
    22  check process mongrel-<%=8000+counter%> with pidfile <%=deploy_to%>/shared/tmp/pids/mongrel.<%=8000+counter%>.pid 
    33        group mongrel 
    4         start program = "/usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -p <%=8000+counter%> -a 127.0.0.1 -P <%= deploy_to %>/shared/tmp/pids/mongrel.<%=8000+counter%>.pid -c <%= deploy_to %>/current
    5         stop program = "/usr/local/bin/ruby /usr/local/bin/mongrel_rails stop stop -P <%= deploy_to %>/shared/tmp/pids/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 <%=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" 
    66         
    77        if failed host 127.0.0.1 port <%=8000+counter%> protocol http