Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.83 1999/12/06 22:53:00 mast Exp $ + # $Id: start,v 1.84 1999/12/13 05:01:23 per Exp $      pre="`echo \" $$ \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :"      cd `dirname $0`      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike
Roxen.git/server/start:154:    once=1    shift    ;;    '--cd')    cd_to="$2"    # Use the absolute path...    roxendir="`pwd`"    once=1    shift    ;; -  -d*|-t*|-l*|-w*) +  -r*|-d*|-t*|-l*|-w*)    # Argument passed along to Pike.    ARGS="$ARGS $1"    ;;    -D*|-M*|-I*|-P*)    # Argument passed along to Pike.    DEFINES="$DEFINES $1"    ;;    '--version')    if [ -f base_server/roxen.pike ]; then    VERSION="`sed <base_server/roxen.pike -e'/__roxen_version__/s/[^0-9]*\([0-9][0-9]*\.[0-9][0-9]*\)[^0-9]*/\1/p' -ed | head -1`"
Roxen.git/server/start:262:    file. Defaults to .B/tmp/roxen_$UIDB.       .BArguments passed to pike:B.       .B-DDEFINEB.: Define the symbol .BDEFINEB..       .B-d<level>B.: Set the runtime Pike debug to level.    This only works if Pike is compiled    with debug.    +  .B-rtB.: Enable runtime typechecking. +  Things will run more slowly, but it is very +  useful while developing code. +  +  Enabled when starting roxen with --debug +  +  .B-rTB.: Enable strict types. +  Same as adding #pragma strict-types +  to all files. +  +  This enables more strict +  type-checking, things that are +  normally permitted (such as calling +  a mixed value, or assigning a typed +  object variable with an untyped +  object) will generate warnings. +  +  Useful for module and roxen core +  developers, but not so useful for +  the occasional pike-script-writer. +  +  Enabled when starting roxen with --debug +     .B-s<size>B.: Set the stack size.       .B-M<path>B.: Add the path to the Pike module path.       .B-I<path>B.: Add the path to the Pike include path.       .B-P<path>B.: Add the path to the Pike program path.       .B-dtB.: Turn of tail recursion optimization.   
Roxen.git/server/start:393:   if uname | grep 'HP-UX' >/dev/null 2>&1; then    if [ $verbose -gt 0 ]; then    echo "$pre WARNING: Applying kludge for HPUX. (see base_server/privs.pike)"    else :; fi    DEFINES="$DEFINES -DHPUX_KLUDGE"   fi         case "x$debug" in    "x") -  DEBUG="-DMODULE_DEBUG" +  DEBUG="-DMODULE_DEBUG -rt" +  ARGS="$ARGS -w"    ;;    "x-1")    DEBUG=""    ;;    "x1") -  DEBUG="-DDEBUG -DMODULE_DEBUG" +  DEBUG="-DDEBUG -DMODULE_DEBUG -rt"    ARGS="$ARGS -w"    ;;   esac      DEFINES="$DEBUG $DEFINES"      ####### END PIKE OPTIONS         #