Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.165 2001/06/27 18:58:47 per Exp $ + # $Id: start,v 1.166 2001/06/28 15:33:24 mast 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:574:   }      signal_exit() {    dp "Start script terminated."    if [ "x$ROXEN_PID" != "x" ]; then    kill $ROXEN_PID 2>/dev/null && wait $ROXEN_PID 2>/dev/null    dp "Roxen WebServer shutdown."    fi    if [ -f $DIR/_mysql/mysql_pid ] ; then    dp "Shutting down mysql" -  kill `cat $DIR/_mysql/mysql_pid` +  kill `cat $DIR/_mysql/mysql_pid` 2>/dev/null    sleep 2    if [ -f $DIR/_mysql/mysql_pid ] ; then    kill -9 `cat $DIR/_mysql/mysql_pid` 2>/dev/null    fi    rm -f $DIR/_mysql/mysql_pid 2>/dev/null    fi    exit 0   }      exit_fail() {