Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.213 2004/05/20 13:44:17 _cvs_stephen Exp $ + # $Id: start,v 1.214 2004/05/20 15:03:19 _cvs_stephen 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:71:   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" -  ./bin/mkdir -p $VARDIR/ || exit 1 - fi -  +    # Default verbosity level.   verbose=1      # Do not default to using a relative path.   chilidir="`pwd`"      # No debug by default.   debug=-1      # Locate Pike binary.
Roxen.git/server/start:551:      ####### END ARGUMENT PARSING         ####### BEGIN PIKE OPTIONS      # ChiliMoon will create files as the initial user, which it expects to   # be able to read as the run-time user.   umask 022    + if test -d $VARDIR/.; then :; else +  dp "Creating directory $VARDIR" +  ./bin/mkdir -p $VARDIR/ || exit 1 + fi +    if [ "x$PIKE_NO_DEFAULT_PATHS" = "x" ]; then    # Pike default Master-program    if [ "x$PIKE_MASTER" = "x" ]; then    if [ -f lib/master.pike ]; then    DEFINES="$DEFINES \"-m$chilidir/lib/master.pike\""    elif [ -f lib/pike/master.pike ]; then    DEFINES="$DEFINES \"-m$chilidir/lib/pike/master.pike\""    fi    else    # This is useful when using several different Pikes.