Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.205 2003/09/18 17:56:47 mast Exp $ + # $Id: start,v 1.206 2003/09/24 10:57:04 grubba Exp $      ### If --silent-start is given as the first argument,   ### nothing will be printed to stdout by the script.      if [ "x$1" = "x--silent-start" ] ; then    SILENT_START="y"    shift   fi      check_owner() {
Roxen.git/server/start:828:    DEBUGDIR="`dirname "$DEBUGLOG"`"    fi    # This duplicate of the logdir creation code is needed, check the    # redirect below    if [ ! -d "$DEBUGDIR" ] ; then    if ./mkdir -p "$DEBUGDIR" 2>/dev/null; then :; else    dp "Failed to create log directory $DEBUGDIR."    exit 1    fi    fi +  if [ -f "bin/setup_nsr.pike" ]; then +  # Setup .nsr (Networker) files for the logfile directories. +  $pike bin/setup_nsr.pike --logdir="$LOGDIR" --debugdir="$DEBUGDIR" +  fi    if [ $verbose -gt 0 ]; then    dp "Using configuration from $DIR"    dp "Storing the debug log in ${DEBUGLOG}.1"    dp "You can use the administration interface in the server to see debug info."    else :; fi       if (    (    # Minor race here wrt pid file cleanup.    exec 3>&-