Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.209 2003/12/03 10:53:09 grubba Exp $ + # $Id: start,v 1.210 2003/12/03 10:56:09 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:677:   ' >&2    fi    done    if [ "x$SILENT_START" != "xy" ]; then    echo >&2    fi    if kill -0 "$mysql_pid" ; then    dp "Shutting down MySQL the hard way."    kill -9 "$mysql_pid" 2>/dev/null    fi -  if [ -f "$DIR/_mysql/mysql_pid" && \ +  if [ -f "$DIR/_mysql/mysql_pid" -a \    "$mysql_pid" = "`cat $DIR/_mysql/mysql_pid`" ]; then    rm -f "$DIR/_mysql/mysql_pid" 2>/dev/null    fi    fi    fi    dp "Start script terminated."    exit 0   }      exit_fail() {