Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:44:    --no-chown)    NOCHOWN=TRUE    ;;    --log-dir=*)    LOGDIR=`echo $1 | sed -e 's/--log-dir=//'`    ;;    --config-dir=*)    DIR=`echo $1 | sed -e 's/--config-dir=//'`    FILES=`echo $1 | sed -e 's/--config-dir=//' -e 's/..//' -e 's./..g' -e 's.-..g'`    ;; +  '--debug') +  debug=1 +  ;;    '--once')    once=1    ;;    '--version')    if [ x$BETA = x1 ] ; then    more='ß'    else    more='.'    fi    echo `expr $VERSION / 100`$more`expr $VERSION % 100`
Roxen.git/server/start:79:   if [ ! X$pass = "X" ] ; then set $pass ;fi         echo Starting the Roxen Challenger World Wide Web server.      ./mkdir -p $LOGDIR/debug/      if [ "$NOCHOWN" != "TRUE" ]; then    fixperms 2>/dev/null   fi + if [ -z "$debug" ] ; then +  DEBUG=""; + else +  DEBUG="-DDEBUG -DMODULE_DEBUG" + fi +    if [ -z "$once" ] ; then    (while : ; do    sdfile="/tmp/Roxen_Shutdown_$$"    rm $sdfile    if [ -f "$sdfile" ] ; then    cat << oo    WARNING:   A shutdown file '('$sdfile')' is present, and the file cannot be   removed by this script.   
Roxen.git/server/start:102:   The file:   oo    ls -l $sdfile    noshutdown="yes"    else    noshutdown=""    fi       echo "Server restart at `date`"    rotate $LOGDIR/debug/$FILES -  args="-DROXEN roxenloader --config-dir=$DIR --start-script-pid=$$" +  args="-DROXEN $DEBUG roxenloader --config-dir=$DIR --start-script-pid=$$"    echo Executing $ulpc -m etc/master.pike $args $@ 2>$LOGDIR/debug/$FILES.1    $ulpc -m etc/master.pike $args $@ 2>>$LOGDIR/debug/$FILES.1 1>&2    if [ -z "$noshutdown" ] ; then    if [ -f "$sdfile" ] ; then      # A shutdown file. This is only done if Roxen cannot kill this script   # for some reason, the most common beeing the lack of a seteuid()   # function, in which case Roxen will write this file.   #   # The contents of the file is the actual PID Roxen got when it was
Roxen.git/server/start:138:      echo Not Reached "(famous last words)"      ) < /dev/null > $LOGDIR/debug/start_$FILES.output 2>&1&   cat << oo   Using configuration from $DIR, storing the debug log in $LOGDIR/debug/$FILES.1   You can use the configuration interface in the server to get debug info.   oo   else    echo "Server restart at `date`" -  args="-DROXEN roxenloader --config-dir=$DIR --start-script-pid=$$" +  args="-DROXEN $DEBUG roxenloader --config-dir=$DIR --start-script-pid=$$"    echo Executing $ulpc -m etc/master.pike $args $@    $ulpc -m etc/master.pike $args $@   fi