Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.205 2002/10/30 19:10:49 nilsson Exp $ + # $Id: start,v 1.206 2002/11/03 20:06:42 mani 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:58:    ;;   esac      . bin/functions      # Can be set with '--config-dir=DIR'   DIR=../configurations   LOGDIR=../logs   FILES="default"   program=server_core/loader.pike +  + if [ "x$VARDIR" = "x" ] ; then    VARDIR=../var -  + else :; fi +    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    dp "Creating directory $VARDIR"
Roxen.git/server/start:756:    } < "$pidfile" && exit 1    # Minor race here.    { echo "x" && echo $mypid; } > "$pidfile"    trap cleanup_pid_file 0   fi      PIKEVERSION="`\"$pike\" --version 2>&1|head -1`"   LS="`ls -lL \"$pike\" 2>/dev/null`"   LS="$LS `cd pike_modules && find . -ls 2>/dev/null`"   LS="$LS `cd server_core && find . -ls 2>/dev/null`" - LS="$LS `cd data/includes && find . -ls 2>/dev/null`" + LS="$LS `cd data/include && find . -ls 2>/dev/null`"   LS="$LS `cd plugins && find . -ls 2>/dev/null`"      VERSION_DATA="$PIKEVERSION $DEFINES $LS `uname -m` `uname -r`"      if [ "$program" = "server_core/loader.pike" ] ; then    if [ "`cat \"$VARDIR/server_dependencies\" 2>/dev/null`" != "$VERSION_DATA" ] ; then    remove_old_dot_o_files "defines or pike version changed"    fi    echo "$VERSION_DATA" > "$VARDIR/new_server_dependencies"   fi