Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.199 2003/02/05 13:34:06 jonasw Exp $ + # $Id: start,v 1.200 2003/02/06 15:43:32 jonasw 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:650:      signal_exit() {    dp "Start script terminating."    trap "" 2 15    if [ "x$ROXEN_PID" != "x" ]; then    kill $ROXEN_PID 2>/dev/null && wait $ROXEN_PID 2>/dev/null    dp "Roxen WebServer shutdown."    fi    if [ "x$keep_mysql" = "x" ] ; then    if [ -f $DIR/_mysql/mysql_pid ] ; then -  dp "Shutting down mysql." +  dp "Shutting down MySQL."    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    fi    dp "Start script terminated."    exit 0