Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh      VERSION=116   BETA=1      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default" - if [ -d ../pike/lib/modules ]; then -  DEFINES=-M../pike/lib/modules +  + # Pike default Master-program + if [ -f ../pike/src/lib/master.pike ]; then +  DEFINES="$DEFINES -m ../pike/src/lib/master.pike"   fi -  +  + # Extra module-path   if [ -d etc/modules ]; then -  DEFINES=$DEFINES -Metc/modules +  DEFINES="$DEFINES -M etc/modules"   fi    -  + # Extra include-path + if [ -d etc/include ]; then +  DEFINES="$DEFINES -I etc/include" + fi +  + # Extra include-path (2) + if [ -d base_server ]; then +  DEFINES="$DEFINES -I base_server" + fi +    pike=pike   if [ -x bin/pike ] ; then pike=bin/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   }      # Change the permissions of the configuration files so that they match   # those of the user Roxen runs as when it has started, not the one Roxen