Juggernaut question

Hi all, I’ve recently downloaded the juggernaut plugin and I was
wondering if I could get some advice from anyone who’s used this on a
real site. I have it working just fine on my local version, but on my
live server it doesn’t seem to be working. It sends the information to
the server just fine, but the text doesn’t get inserted. So I have a
couple questions

  1. Do I need to talk to my webhost about opening a specific port? right
    now it’s set as the default: 5001.

  2. How do you keep the juggernaut server constantly running? right now I
    just do it in the terminal.

Any help would be greatly appreciated. thanks :slight_smile:

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.

  1. 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.