Branch: Tag:

1996-11-12

1996-11-12 12:57:00 by Per Hedbor <ph@opera.com>

ny option: --once

Rev: server/start:1.2

51:    DIR=`echo $1 | sed -e 's/--config-dir=//'`    FILES=`echo $1 | sed -e 's/--config-dir=//' -e 's/..//' -e 's./..g' -e 's.-..g'`    ;; +  '--once') +  once=1 +  ;;    '--version')    if [ x$BETA = x1 ] ; then    more='ß'
83:   if [ "$NOCHOWN" != "TRUE" ]; then    fixperms 2>/dev/null   fi -  + if [ -z "$once" ] ; then   (while : ; do    sdfile="/tmp/Roxen_Shutdown_$$"    rm $sdfile
136:   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=$$" +  echo Executing $ulpc -m etc/master.pike $args $@ +  $ulpc -m etc/master.pike $args $@ + fi