Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:26:    uid=`echo $uline | sed -e 's![^"]*"!!' -e 's/:.*//'`    gid=`echo $uline | sed -e 's![^:]*:!!' -e 's/".*//'`       if [ ! -z "$gid" ] ; then find $DIR $LOGDIR -print | xargs chgrp $gid; fi    if [ ! -z "$uid" ] ; then find $DIR $LOGDIR -print | xargs chown $uid; fi       find $DIR -print | xargs chmod og-rw    find $DIR -print | xargs chmod u+rw   }    +  + start_roxen() { +  args="-DROXEN $DEFINES $DEBUG base_server/roxenloader --config-dir=$DIR --start-script-pid=$$" +  echo Executing $ulpc $args $@ +  $ulpc $args $@ + }   ####### END PREAMBLE         ## Parse all arguments.   ## GNU-style, long options only.   while [ ! c"$1" = "c" ] ; do    case $1 in   # Used by the 'install' script -  +  -D*) +  DEFINES="$DEFINES $1" +  ;;    --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'`    ;;
Roxen.git/server/start:111:   The file:   oo    ls -l $sdfile    noshutdown="yes"    else    noshutdown=""    fi       echo "Server restart at `date`"    rotate $LOGDIR/debug/$FILES -  args="-DROXEN $DEBUG base_server/roxenloader --config-dir=$DIR --start-script-pid=$$" -  echo Executing $ulpc -m $args $@ 2>$LOGDIR/debug/$FILES.1 -  $ulpc $args $@ 2>>$LOGDIR/debug/$FILES.1 1>&2 +  start_roxen    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   # started. This could be used to verify that this was the correct   # shutdown file, but since it is extremely unlikely that two
Roxen.git/server/start:147:      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 $DEBUG base_server/roxenloader --config-dir=$DIR --start-script-pid=$$" -  echo Executing $ulpc $args $@ -  $ulpc $args $@ +  start_roxen   fi