Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.125 2000/09/01 12:42:46 nilsson Exp $ + # $Id: start,v 1.126 2000/09/01 14:11:17 per 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    - pre="`echo \" $$ \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :" + pre="`echo \" \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :"      dp() {    if [ "x$SILENT_START" = "xy" ]    then :; else    echo "$pre" "$@" 2>&1    fi   }      # Breaks on linux when using symlinks.   dn="`dirname $0`"
Roxen.git/server/start:439:   # The work has already been done above, but the debug printout is better   # to have _after_ parse_args (consider --help and --version)      if [ ! "X$ROXEN_ARGS" = "X" ]; then    if [ $verbose -gt 0 ]; then    dp "Used $ROXEN_ARGS from ROXEN_ARGS."    else :; fi   fi       - 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 was detected. Threads enabled by default." -  fi -  fi - fi + #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 was detected. Threads enabled by default." + # fi + # fi + #fi         if [ ! "X$pass" = "X" ] ; then set -- $pass ;fi         ####### END ARGUMENT PARSING         ####### BEGIN PIKE OPTIONS   
Roxen.git/server/start:587:    args="$DEFINES $ARGS $program $pass"    fi    if [ x$cd_to != x ] ; then    cd $cd_to    fi    if [ "x$gdb" = "xno" ]; then    if [ $verbose -gt 0 ]; then    if [ $verbose -gt 1 -o -z "$once" ] ; then    dp "Executing $pike $args $@"|sed -e "s!`pwd`!.!g"    else -  dp "Using '$pike'"|sed -e "s!`pwd`!.!g" +  dp "Using the '$pike' pike binary"|sed -e "s!`pwd`!.!g"    fi    fi       trap signal_exit 2 15    trap "" 1    if [ "x$once" = "x" ]; then    $pike $args "$@" 2>>$LOGDIR/debug/$FILES.1 1>&2 &    ROXEN_PID=$!    dp "Roxen WebServer server pid $ROXEN_PID."    wait $! 2>/dev/null 1>&2