Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:167:    echo $$: Server shutdown file detected. Shutting down    rm "$sdfile"    if [ -f "$sdfile" ] ; then    echo $$: "Failed to remove '"$sdfile"'. This could be a problem"    exit 0    else    exit 0    fi    fi    fi +  echo $$: Roxen died. Restarting in 5 seconds... +  # Don't take all available CPU if Roxen keeps dieing. +  sleep 5    done       echo $$: Not Reached "famous last words"       ) < /dev/null > $LOGDIR/debug/start_$FILES.output 2>&1 &    cat << oo   Using configuration from $DIR, storing the debug log in $LOGDIR/debug/$FILES.1   You can use the configuration interface in the server to get debug info.   oo      else    echo $$: "Server restart at `date`"    start_roxen   fi