Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.147 2001/01/31 07:32:36 per Exp $ + # $Id: start,v 1.148 2001/01/31 08:04:01 per 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:542:    if [ "x$ROXEN_PID" != "x" ]; then    kill $ROXEN_PID 2>/dev/null    while kill -0 $ROXEN_PID 2>/dev/null; do    sleep 1    done    fi    dp "Roxen WebServer shutdown."    exit 0   }    + exit_fail() { +  exitcode=1 + } +    start_roxen() {    check_owner    raise_limit       if [ x$remove_dumped = x1 ] ; then    remove_old_dot_o_files "user request"    fi    if [ "x$DIR" != "x../configurations/" ] ; then    args="$DEFINES $ARGS $program --config-dir=$DIR $pass"    else
Roxen.git/server/start:579:    $pike $args "$@" 2>>$LOGDIR/debug/$FILES.1 1>&2    ROXEN_PID=$!    dp "Roxen WebServer server pid $ROXEN_PID."    wait $! 2>/dev/null 1>&2    exitcode="$?"    ROXEN_PID=""    else    if [ "x$do_pipe" = "x" ] ; then    $pike $args "$@" 2>&1    else -  eval "$pike $args "$@" 2>&1 $do_pipe" +  trap exit_fail 1 +  eval "($pike $args \"$@\" || kill -1 $$) 2>&1 $do_pipe" +  exit $exitcode    fi    fi    else    echo >.gdbinit handle SIGPIPE nostop noprint pass    echo >>.gdbinit handle SIGUSR1 nostop noprint pass    echo >>.gdbinit handle SIGUSR2 nostop noprint pass    echo >>.gdbinit handle SIGLWP nostop noprint pass    firstline=`head -1 "$pike" 2>/dev/null`    if expr "x$firstline" : 'x#! */.*' >/dev/null; then    # Looks like a script. gdb will not grok it, so we try passing