Hi
I have a mongrel server running, but it stops whenever i reboot my
machine
Is there a way of starting the mongrel server on bootup?
Thanks
Hi
I have a mongrel server running, but it stops whenever i reboot my
machine
Is there a way of starting the mongrel server on bootup?
Thanks
I use this one in my local startup script:
http://www.simplisticcomplexity.com/2006/11/29/mongrel_processes-updated-to-06/
On Wed, May 7, 2008 at 4:52 PM, Craig Willis <
mongrel_cluster comes with a init script which works well. On my
Fedora/Red Hat/CentOS systems, the script is found at
/usr/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/resources/mongrel_cluster
Now if I could find out a way to also get ‘script/backgroundrb start’ to
automatically run as user, that would be nice.
Craig
I’m running Ubuntu
All I wanted was a script that, when the server restarted, deleted the
PID file and could be restarted automatically.
I’ll take a look around at the examples you’ve given me
Thanks
i’ve used Monit for that.
my mongrel configuration:
check process mongrel_8001
if failed port 8001 protocol http with timeout 60 seconds then restart
group
and my backgroundrb configuration:
check process backgroundrb
after that, run “sudo /etc/init.d/monitrc start all -g ”
Felipe Mesquita
http://felipemesquita.com
http://emailfax.com.br
http://gettingdoc.com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs