Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.198 2003/01/13 15:14:08 mast Exp $ + # $Id: start,v 1.199 2003/02/05 13:34:06 jonasw 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:360:    .B--quiet -qB.: Disable most of the messages.       .B--log-dir=DIRB.: Set the log directory. Defaults to .B../logsB..       .B--config-dir=DIRB.: Use an alternate configuration directory.    Defaults to .B../configurationsB..       .B--debug-log=FILEB.: Use an alternate debuglog file.    Defaults to .B../logs/debug/B.configdirname.B.1B..    -  .B--pid-file=FILEB.: Store the roxen and startscript pids in this +  .B--pid-file=FILEB.: Store the Roxen and start script pids in this    file. Defaults to .B../configurations/_roxen_pidB..       .B--silent-startB.: Inhibits output to stdout. If used,    this argument must be the first one.       .B--strip-backslashB.: Replace all \\ characters in URIs with /       .B--without-ram-cacheB.: Do not use a protocol level RAM cache to speed    things up. Saves RAM at the cost of speed.   
Roxen.git/server/start:410:    This is very useful when debugging. Implies    --module-debug.       .B--keep-mysqlB.: Do not shut down MySQL process when exiting    the start script. Useful during development    or any other scenario where the start script    is frequently terminated.       .B--gdbB.: Run the server in gdb. Implies .B--onceB..    -  .B--programB.: Start a different program with the roxen +  .B--programB.: Start a different program with the Roxen    Pike. As an example,    .B./start --program bin/install.pikeB. will    start the installation program normally    started with .B./installB.       .B--with-debugB.: Enable debug       .B--without-debugB.: Disable all debug. This is the default.       .B--module-debugB.: Enable more internal debug checks to
Roxen.git/server/start:439:    extremely noisy, and is not intented for    anything but debug.       .B--truss-cB.: (Solaris only). Run the server under    truss -c, shows times for all system calls    on exit. This is not intented for anything    but debug. Slows the server down.       .B--with-snmp-agentB.: Enable internal SNMP agent code.    -  .BArguments passed to pike:B. +  .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 (i.e. with --rtl-debug to    configure).       .B-rtB.: Enable runtime typechecking.    Things will run more slowly, but it is very    useful while developing code.    -  Enabled when starting roxen with --debug +  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 +  Useful for module and Roxen core    developers, but not so useful for    the occasional pike-script-writer.    -  Enabled when starting roxen with --debug +  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 off tail recursion optimization.
Roxen.git/server/start:694:    args="$DEFINES $ARGS $program $pass"    fi    if [ x"$cd_to" != x ] ; then    cd "$cd_to"    fi    if [ "x$gdb" = "xno" ]; then    if [ $verbose -gt 0 ]; then    if [ $verbose -gt 1 -o -z "$once" ] ; then    dp "Executing $pike $args"|sed -e "s!`pwd`!.!g"    else -  dp "Using the '$pike' pike binary"|sed -e "s!`pwd`!.!g" +  dp "Using the '$pike' Pike binary"|sed -e "s!`pwd`!.!g"    fi    fi       if [ "x$once" = "x" ]; then    eval "fork_roxen \"$pike\" $args 2>>\"${DEBUGLOG}.1\" 1>&2"    dp "Roxen WebServer server pid $ROXEN_PID."    wait $ROXEN_PID 2>/dev/null 1>&2    exitcode="$?"    ROXEN_PID=""    else
Roxen.git/server/start:797:      PIKEVERSION="`\"$pike\" --version 2>&1|head -1`"   LS="`ls -lL \"$pike\" 2>/dev/null`"   LS="$LS `find etc/modules -ls 2>/dev/null`"   LS="$LS `find base_server -ls 2>/dev/null`"      VERSION_DATA="$PIKEVERSION $DEFINES $LS"      if [ "$program" = "base_server/roxenloader.pike" ] ; then    if [ "`cat \"$old_roxen_defines\" 2>/dev/null`" != "$VERSION_DATA" ] ; then -  remove_old_dot_o_files "defines or pike version changed" +  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 Roxen WebServer."    else :; fi    if [ "x$DEBUGLOG" = "x" ] ; then    DEBUGDIR="$LOGDIR/debug"