Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.54 1999/04/24 17:49:22 mast Exp $ + # $Id: start,v 1.55 1999/05/22 23:46:47 mast Exp $      VERSION=202; BETA=.b;      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike      # Set up environment
Roxen.git/server/start:344:       if [ "$exitcode" -eq "0" ] ; then    # Clean shutdown.    echo $$: "Roxen shutdown."    exit 0    fi    if [ "$exitcode" -lt "0" ] ; then    # Signal death.    echo $$: "Roxen died of signal $exitcode. Restarting..."    else -  # Restart. Sleep a few seconds before restarting. -  echo $$: Roxen died. Restarting in 5 seconds... -  sleep 5 +  # Restart. Sleep a second before restarting. +  echo $$: Roxen died. Restarting in 1 second... +  sleep 1    fi    done       echo $$: Not Reached "famous last words"       ) < /dev/null > $LOGDIR/debug/start_$FILES.output 2>&1 &      else    echo $$: "Server restart at `date`"    start_roxen   fi