Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.236 2009/08/05 16:07:12 grubba Exp $ + # $Id: start,v 1.237 2010/10/13 13:05:26 stewa 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:124:      # Locate Pike binary.   find_pike      # Source environment   setup_environment      ####### BEGIN ARGUMENT PARSING       - DEFINES="$DEFINES -DRAM_CACHE" + DEFINES="$DEFINES -DRAM_CACHE -DNEW_RAM_CACHE -DHTTP_COMPRESSION"    -  +    # Thread enabling.   # FIXME: Ought to use case...esac.      # 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    vers="`uname -r|sed -e 's/5.\([0-9]*\)/\1/p' -ed`"    if [ "$vers" -ge "5" ]; then   # if [ $verbose -gt 0 ] ; then   # dp "Solaris 2.5 or later detected. Using threads by default."
Roxen.git/server/start:246:    ;;    '--strip-backslash'|'--without-backslash'|'--strip-back-slash')    DEFINES="-DSTRIP_BSLASH $DEFINES"    ;;    '--offline')    DEFINES="-DNO_DNS -DOFFLINE $DEFINES"    ;;    '--without-ram-cache'|'--disable-ram-cache')    DEFINES="`echo $DEFINES | sed -e 's/-DRAM_CACHE//g'`"    ;; +  '--without-new-ram-cache'|'--disable-new-ram-cache') +  DEFINES="`echo $DEFINES | sed -e 's/-DNEW_RAM_CACHE//g'`" +  ;; +  '--without-http-compression'|'--disable-http-compression') +  DEFINES="`echo $DEFINES | sed -e 's/-DHTTP_COMPRESSION//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')
Roxen.git/server/start:420:    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.    +  .B--without-new-ram-cacheB.: Do not use a the new protocol level RAM cache +  introduced in Roxen 5.0-release4. +     .B--without-ram-cache-statB.: Disable the stat that is usually done    for files in the protocol cache to ensure that    they are not changed before they are sent.    Improves performance at the cost of constant    aggravation if the site is edited. Useful for    truly static sites.    -  +  .B--without-http-compressionB.: Disable gzip compression for HTTP requests. +     .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