Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.70 1999/08/06 16:40:57 grubba Exp $ + # $Id: start,v 1.71 1999/08/19 23:43:49 per Exp $      cd `dirname $0`      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike   extra_args=""   
Roxen.git/server/start:29:      pike=pike   if [ -x bin/pike ] ; then pike=$roxendir/bin/pike; fi   if [ -x bin/roxen ] ; then pike=$roxendir/bin/roxen; fi   if [ "x$PIKE" = "x" ]; then :; else    if [ -x "$PIKE" ]; then pike="$PIKE"; fi   fi      ####### BEGIN ARGUMENT PARSING    +  + DEFINES="$DEFINES -DKEEP_ALIVE" +    # Enable threads (if available) on Solaris.   # Most other OS's have thread bugs that cause them or Roxen to crash.   if uname | grep 'SunOS' >/dev/null 2>&1; then    if uname -r | grep '5\.[5-9]' >/dev/null 2>&1; then    if [ $verbose -gt 0 ] ; then    echo 'Solaris 2.5 or later detected. Enabling threads (if available).'    fi    DEFINES="$DEFINES -DENABLE_THREADS"    if $pike --version 2>&1|head -1|grep 0.5 ; then    if [ $verbose -gt 0 ] ; then
Roxen.git/server/start:85:    ;;    '--fd-debug'|'--with-fd-debug'|'--enable-fd-debug')    DEFINES="-DFD_DEBUG $DEFINES"    ;;    '--threads'|'--with-threads'|'--enable-threads')    DEFINES="-DENABLE_THREADS $DEFINES"    ;;    '--no-threads'|'--without-threads'|'--disable-threads')    DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//'`"    ;; +  '--no-keep-alive'|'--without-keep-alive'|'--disable-keep-alive') +  DEFINES="`echo $DEFINES | sed -e 's/-DKEEP_ALIVE//'`" +  ;;    '--with-profile'|'--profile')    DEFINES="-DPROFILE $DEFINES"    ;;    '--with-file-profile'|'--file-profile')    DEFINES="-DPROFILE -DFILE_PROFILE $DEFINES"    ;;    '--keep-alive'|'--with-keep-alive'|'--enable-keep-alive')    DEFINES="-DKEEP_ALIVE $DEFINES"    ;;    '--quiet'|'-q')
Roxen.git/server/start:178:    a directory basis. This information is    not saved on permanent storage, it is only    available until the next server restart    This will enable a new 'action' in the    configuration interface       .B--with-file-profileB.: Like .B--with-profileB., but save information    for each and every file.       .B--with-keep-aliveB.: Enable keep alive in the HTTP -  protocol module. This will soon be -  the default. Some clients might have -  problems with keepalive. +  protocol module. This is the default. +  Some clients might have problems +  with keep-alive.    -  +  .B--without-keep-aliveB.: Disable keep alive in the HTTP +  protocol module. Some clients might have +  problems with keep-alive. +     .B--onceB.: Run the server only once, in the foreground.    This is very useful when debugging.       .B--gdbB.: Run the server in gdb. Implies .B--onceB..       .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.