Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.200 2002/10/22 00:06:44 nilsson Exp $ + # $Id: start,v 1.201 2002/10/23 14:59:02 nilsson Exp $      ### If --silent-start is given as the first argument,   ### nothing will be printed to stdout by the script.      if [ "x$1" = "x--silent-start" ] ; then    SILENT_START="y"    shift   fi      check_owner() {
Roxen.git/server/start:57:    fi    ;;   esac      . bin/functions      # Can be set with '--config-dir=DIR'   DIR=../configurations   LOGDIR=../logs   FILES="default" - program=server_core/roxenloader.pike + program=server_core/loader.pike   VARDIR=../var   LOCALDIR=../local   SELF_TEST_DIR=data/test      # Make LOCALDIR an absolute path   if test -d $LOCALDIR/.; then    LOCALDIR="`cd $LOCALDIR; pwd`"   else :; fi      if test -d $VARDIR/.; then :; else
Roxen.git/server/start:130:   # Also enabled on Linux.   if uname | grep 'Linux' >/dev/null 2>&1; then    DEFINES="$DEFINES -DENABLE_THREADS"   fi      gdb=no      remove_old_dot_o_files () {    dp "Removing old precompiled files ($1)"    # This really cannot be done from here anymore -- pass on an option -  # to roxenloader instead. +  # to loader instead.    pass="$pass --remove-dumped"   }      ## Parse all arguments.   ## GNU-style, long options only, except for -D, simply passed on.   ARGS=""      setup_for_tests() {    # Kill roxen mysql if it's running...    if [ -f "$VARDIR/test_config/_mysql/mysql_pid" ] ; then
Roxen.git/server/start:765:    trap cleanup_pid_file 0   fi      PIKEVERSION="`\"$pike\" --version 2>&1|head -1`"   LS="`ls -lL \"$pike\" 2>/dev/null`"   LS="$LS `find pike_modules -ls 2>/dev/null`"   LS="$LS `find server_core -ls 2>/dev/null`"      VERSION_DATA="$PIKEVERSION $DEFINES $LS"    - if [ "$program" = "server_core/roxenloader.pike" ] ; then + if [ "$program" = "server_core/loader.pike" ] ; then    if [ "`cat \"$old_roxen_defines\" 2>/dev/null`" != "$VERSION_DATA" ] ; then    remove_old_dot_o_files "defines or pike version changed"    fi    echo "$VERSION_DATA" > "$old_roxen_defines"   fi      if [ -z "$once" ] ; then    if [ $verbose -gt 0 ]; then    dp "Starting the ChiliMoon."    else :; fi