Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.95 2000/02/16 23:46:29 mast Exp $ + # $Id: start,v 1.96 2000/02/17 05:26:13 per Exp $      pre="`echo \" $$ \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :"      cd `dirname $0`      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike
Roxen.git/server/start:26:   # Set up environment   if test -f etc/environment; then    . etc/environment   fi      # Make sure $CLASSPATH contains the servlet stuff   CLASSPATH=java/classes/roxen_module.jar:java/classes/roxen_servlet.jar:java/classes/servlet.jar:java/classes${CLASSPATH:+:}$CLASSPATH   export CLASSPATH       - pike=`type pike|head -1|sed -e's,.*is ,,'` + pike=`type pike|head -1|sed -e 's,.*is ,,'`   if [ -x bin/pike ] ; then pike=$roxendir/bin/pike; fi   if [ -x bin/roxen ] ; then pike=$roxendir/bin/roxen; fi   if [ "x$PIKE" = "x" ]; then :; else    if [ -x "$PIKE" ]; then pike="$PIKE"; fi   fi    -  +  + if [ x"$pike" = "x" ] ; then +  echo "No pike binary found. Aborting." +  exit 1 + fi +  + if [ ! -f "$pike" ] ; then +  echo "No pike binary found. Aborting." +  exit 1 + fi +    ####### BEGIN ARGUMENT PARSING         DEFINES="$DEFINES -DKEEP_ALIVE"      # Enable threads (if available) on Solaris.   # Most other OS's have thread bugs that cause them or Roxen to crash.   if uname | grep 'SunOS' >/dev/null 2>&1; then    if uname -r | grep '5\.[5-9]' >/dev/null 2>&1; then    if [ $verbose -gt 0 ] ; then