Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:400:    '--gdb')    gdb=gdb    once=2    debug=0    ;;    --valgrind|--valgrind=*)    valgrind="$1"    once=2    debug=0    ;; +  --package) +  pass="$pass --package=$2" +  shift +  ;; +  --package=*) +  pass="$pass $1" +  ;; +  --customer) +  pass="$pass --package=customers/$2" +  shift +  ;; +  --customer=*) +  pass="$pass --package=customers/`echo $1 | sed -e's/^--customer=//'`" +  ;;    '--program')    program="$2"    once=2    passhelp=1    keep_mysql=1    shift    shift    # Pass any remaining arguments along to the program.    while [ ! c"$1" = "c" ] ; do    pass="$pass '`echo \"$1\" | sed -e \"s/'/'\\\"'\\\"'/g\"`'"
Roxen.git/server/start:567:    is frequently terminated.       .B--mysql-onlyB.: Start the embedded MySQL process, but    do not start the rest of Roxen. May be    combined with --stop.       .B--gdbB.: Run the server in gdb. Implies .B--onceB..       .B--valgrind[=valgrind args]B.: Run the server in valgrind. Implies .B--onceB..    +  .B--package=DIRB.: Add optional package to the Roxen +  search path. +  +  .B--customer=CUSTB.: Add package customers/CUST to the +  Roxen search path. +     .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.   
Roxen.git/server/start:1067:    if [ $verbose -gt 0 ]; then    dp "Executing $pike $args"|sed -e "s!`pwd`!.!g"    fi    eval "fork_roxen \"$pike\" $args 2>>\"${DEBUGLOG}.1\" 1>&2"    dp "Roxen WebServer server pid $ROXEN_PID."    lock_pid_file "$ROXEN_PID" "server" "$canonicalconf"    wait $ROXEN_PID 2>/dev/null 1>&2    exitcode="$?"    ROXEN_PID=""    else +  if [ $verbose -gt 0 ]; then +  dp "Executing $truss $pike $args"|sed -e "s!`pwd`!.!g" +  fi    if [ "x$do_pipe" = "x" ] ; then    if [ "x$once" = "x1" ]; then    eval "fork_roxen $truss \"$pike\" $args 2>&1"    wait $ROXEN_PID 2>/dev/null 1>&2    exitcode="$?"    ROXEN_PID=""    else    eval "$truss \"$pike\" $args" 2>&1    exitcode="$?"    fi