Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.166 2001/06/28 15:33:24 mast Exp $ + # $Id: start,v 1.167 2001/06/28 15:49:35 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:567:      #   # Some useful functions   #      cleanup_pid_file() {    [ -z "$pidfile" ] || rm $pidfile   }      signal_exit() { +  trap "" 2 15    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` 2>/dev/null    sleep 2    if [ -f $DIR/_mysql/mysql_pid ] ; then