[csw-devel] SF.net SVN: gar:[16966] csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/ cswmysql5.tpl

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Feb 1 15:39:58 CET 2012


Revision: 16966
          http://gar.svn.sourceforge.net/gar/?rev=16966&view=rev
Author:   wahwah
Date:     2012-02-01 14:39:58 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
mysql5/branches/mysql-5.0.x: port changes from 5.5

Modified Paths:
--------------
    csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/cswmysql5.tpl

Modified: csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/cswmysql5.tpl
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/cswmysql5.tpl	2012-02-01 13:44:27 UTC (rev 16965)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/cswmysql5.tpl	2012-02-01 14:39:58 UTC (rev 16966)
@@ -79,12 +79,12 @@
 start_it() {
     if test -r $MYSQLD_PID_FILE ; then
         if kill -0 `cat $MYSQLD_PID_FILE` > /dev/null 2>&1 ; then
-            echo "mysqld-${BASE_VERSION} (`cat $MYSQLD_PID_FILE`) seems to be running."
+            echo "${MYSQLD_PROG} (`cat $MYSQLD_PID_FILE`) seems to be running."
             return 1
         fi
     fi
 
-    printf "%-60s" "Starting mysqld-${BASE_VERSION}: "
+    printf "%-60s" "Starting ${MYSQLD_PROG}: "
 
     # 2006-03-11
     # This script no longer creates the default database. You may create the
@@ -193,7 +193,7 @@
 
     restart)
     stop_it
-    while pgrep `pgrep_opts` mysqld-${BASE_VERSION} > /dev/null
+    while pgrep `pgrep_opts` ${MYSQLD_PROG} > /dev/null
       do
       sleep 1
     done

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list