Branch: Tag:

1997-03-01

1997-03-01 17:21:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to revision 1.6 level.
Now sets module-path.

Rev: server/start:1.3.2.1

7:   DIR=../configurations/   LOGDIR=../logs/   FILES="default" + if [ -d ../pike/lib/modules ]; then +  DEFINES=-M../pike/lib/modules + fi + if [ -d etc/modules ]; then +  DEFINES=$DEFINES -Metc/modules + fi    - ulpc=pike - if [ -x bin/pike ] ; then ulpc=bin/pike; fi + pike=pike + if [ -x bin/pike ] ; then pike=bin/pike; fi      rotate () {    b=5;
33:    find $DIR -print | xargs chmod u+rw   }    +  + start_roxen() { +  args="-DROXEN $DEFINES $DEBUG base_server/roxenloader --config-dir=$DIR --start-script-pid=$$" +  echo Executing $pike $args $@ +  $pike $args $@ + }   ####### END PREAMBLE      
41:   while [ ! c"$1" = "c" ] ; do    case $1 in   # Used by the 'install' script +  -D*) +  DEFINES="$DEFINES $1" +  ;;    --no-chown)    NOCHOWN=TRUE    ;;
118:       echo "Server restart at `date`"    rotate $LOGDIR/debug/$FILES -  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 +  start_roxen    if [ -z "$noshutdown" ] ; then    if [ -f "$sdfile" ] ; then   
154:   oo   else    echo "Server restart at `date`" -  args="-DROXEN $DEBUG roxenloader --config-dir=$DIR --start-script-pid=$$" -  echo Executing $ulpc -m etc/master.pike $args $@ -  $ulpc -m etc/master.pike $args $@ +  start_roxen   fi