Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.26 1998/03/01 02:42:58 per Exp $ + # $Id: start,v 1.27 1998/03/01 02:49:52 per Exp $      VERSION=201; BETA=.a;      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"      # Enable threads (if available) on Solaris.   # Most other OS's have thread bugs that cause them or Roxen to crash.
Roxen.git/server/start:17:    DEFINES="$DEFINES -DENABLE_THREADS"    fi   fi      # Roxen will create files as the initial user,   # which it expects to be able to read as the run-time user.   umask 022      # Pike default Master-program   if [ "x$PIKE_MASTER" = "x" ]; then -  if [ -f lib/pike/master.pike ]; then -  DEFINES="$DEFINES -mlib/pike/master.pike" +  if [ -f lib/master.pike ]; then +  DEFINES="$DEFINES -mlib/master.pike"    else    # This is used with localinstall    if [ -f ../pike/src/lib/master.pike ]; then    DEFINES="$DEFINES -m../pike/src/lib/master.pike"    fi    fi   else    # This is usefull when using several different Pikes.    DEFINES="$DEFINES -m$PIKE_MASTER"   fi
Roxen.git/server/start:54:      # Extra kludge for HPUX   # HPUX doesn't like group 60001(nobody)   if uname | grep 'HP-UX' >/dev/null 2>&1; then    echo 'WARNING: Applying kludge for HPUX. (see base_server/privs.pike)'    DEFINES="$DEFINES -DHPUX_KLUDGE"   fi      pike=pike   if [ -x bin/pike ] ; then pike=bin/pike; fi - if [ -x bin/roxen ] ; then pike=bin/roxen; fi + if [ -x bin/roxen ] ; then +  pike=bin/roxen; +  echo $DEFINES + fi   if [ -x "$PIKE" ]; then pike="$PIKE"; fi      rotate () {    b=5;    for a in 4 3 2 1 ; do mv -f $1.$a $1.$b 2> /dev/null; b=$a; done   }      start_roxen() {    args="-DROXEN $DEBUG $DEFINES $pass base_server/roxenloader.pike --config-dir=$DIR"    echo Executing $pike $args $@