Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.120 2000/08/09 02:34:34 per Exp $ + # $Id: start,v 1.121 2000/08/17 01:16:06 per Exp $      pre="`echo \" $$ \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :"      dp() {    echo "$pre" "$@" 2>&1   }      # Breaks on linux when using symlinks.   dn="`dirname $0`"   case "$dn" in
Roxen.git/server/start:94:   CLASSPATH=java/classes${CLASSPATH:+:}$CLASSPATH   for jar in java/classes/*.jar; do    CLASSPATH="$jar:$CLASSPATH"   done   export CLASSPATH         ####### BEGIN ARGUMENT PARSING       - DEFINES="$DEFINES -DKEEP_ALIVE" + DEFINES="$DEFINES -DRAM_CACHE"      # 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   # dp "Solaris 2.5 or later detected. Using threads by default."   # fi    DEFINES="$DEFINES -DENABLE_THREADS"    fi
Roxen.git/server/start:153:    ;;    '--debug'|'--with-debug'|'--enable-debug')    debug=1    ;;    '--without-debug')    debug=-1    ;;    '--fd-debug'|'--with-fd-debug'|'--enable-fd-debug')    DEFINES="-DFD_DEBUG $DEFINES"    ;; +  '--without-ram-cache'|'--disable-ram-cache') +  DEFINES="`echo $DEFINES | sed -e 's/-DRAM_CACHE//g'`" +  ;; +  '--without-ram-cache-stat'|'--disable-ram-cache-stat') +  DEFINES="`-DRAM_CACHE_ASUME_STATIC_CONTENT`" +  ;;    '--dump-debug'|'--with-dump-debug'|'--enable-dump-debug')    DEFINES="-DDUMP_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//g'`"    ;;    '--no-keep-alive'|'--without-keep-alive'|'--disable-keep-alive')
Roxen.git/server/start:250:       .B--verbose -vB.: Enable more verbose messages.       .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../configurationB..    +  .B--without-ram-cacheB.: Do not use an in-RAM cache to speed +  things up. Saves RAM at the cost of speed. +  +  .B--without-ram-cache-statB.: Disable the stat that is usualy done +  for files in the ram cache to ensure that +  they are not changed before they are sent. +  Improves performance at the cost of constant +  aggrevation if the site is edited. Useful for +  truly static sites. +     .B--with-threadsB.: If threads are available, use them.       .B--without-threadsB.: Even if threads are enabled by default,    disable them.       .B--with-profileB.: Store runtime profiling information on    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