Hi,
On Aug 20, 4:53 pm, Mark Mr <[email protected]> wrote:
> 1) Do I need to talk to my webhost about opening a specific port? right
> now it's set as the default: 5001.
Can you `telnet your_host 5001`? If not - probably this port is
blocked and you need to ask your hosting provider for help.
>
> 2) How do you keep the juggernaut server constantly running? right now I
> just do it in the terminal.
The best and the only reliable way is to write a small shell script
like this:
#!/bin/sh
until nohup /path/to/your/ruby /usr/bin/juggernaut; do
echo "Juggernaut crashed with exit code $?. Respawning..." >>
some_log_file
sleep 1
done
This script will restart juggernaut everytime it crashes.
>
> Any help would be greatly appreciated. thanks :)
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---