"Fossies" - the Fresh Open Source Software Archive

Member "freeha-1.0/service_scripts/mysql.start" (23 Nov 2006, 268 Bytes) of package /linux/privat/old/freeha-1.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 # Script to have FreeHA start mysql.
    4 # Call with path to mysql.server script
    5 # EG:
    6 #    start.mysql  /opt/sfw/share/mysql/mysql.server
    7 
    8 
    9 if [ ! -x "$1" ] ; then
   10     echo mysql.start: ERROR: $1 is not valid mysql.server script
   11     exit 1
   12 fi
   13 
   14 $1 start </dev/null
   15 
   16