Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.224 2005/12/21 14:03:33 noring Exp $ + # $Id: start,v 1.225 2006/07/17 15:30:39 grubba 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:268:    ;;    '--no-threads'|'--without-threads'|'--disable-threads')    DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//g'`"    ;;    '--with-profile'|'--profile')    DEFINES="-DPROFILE $DEFINES"    ;;    '--with-file-profile'|'--file-profile')    DEFINES="-DPROFILE -DFILE_PROFILE $DEFINES"    ;; +  '--generations='*) +  GENERATIONS=`echo $1 | sed -e 's/--generations=//'` +  if test "$GENERATTIONS" -gt 1; then :; else +  echo "Invalid number of log generations: $GENERATIONS" >&2 +  echo "Using default: 5" >&2 +  GENERATIONS=5 +  fi +  ;; +  '--generations') +  GENERATIONS="$2" +  shift +  if test "$GENERATTIONS" -gt 1; then :; else +  echo "Invalid number of log generations: $GENERATIONS" >&2 +  echo "Using default: 5" >&2 +  GENERATIONS=5 +  fi +  ;;    '--quiet'|'-q')    verbose=0    ;;    '--verbose'|'-v')    verbose=2    debug=1    ;;    '--remove-dumped')    remove_dumped=1;    ;;
Roxen.git/server/start:425:    .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    administration interface       .B--with-file-profileB.: Like .B--with-profileB., but save information    for each and every file.    +  .B--generations=NUMBERB.: Specify the number of generations for the +  log rotation. Default: 5. +     .B--self-testB.: Runs a testsuite.    .B--self-test-verboseB.: Runs a testsuite, report all tests.    .B--self-test-quietB.: Runs a testsuite, only report errors.    .B--self-test-dir=DIRB.: Use this self test directory instead of    the default .Betc/testB. directory.       .B--onceB.: Run the server only once, in the foreground.    This is very useful when debugging. Implies    --module-debug.