[Vtigercrm-commits] [vtiger-commits] r9862 - in /vtigercrm/branches/5.0.3/pkg/bin: startvTiger.bat startvTiger.sh stopvTiger.bat
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Nov 20 06:48:07 EST 2006
Author: richie
Date: Mon Nov 20 04:48:02 2006
New Revision: 9862
Log:
version name changed from 5.0.1 to 5.0.3
Modified:
vtigercrm/branches/5.0.3/pkg/bin/startvTiger.bat
vtigercrm/branches/5.0.3/pkg/bin/startvTiger.sh
vtigercrm/branches/5.0.3/pkg/bin/stopvTiger.bat
Modified: vtigercrm/branches/5.0.3/pkg/bin/startvTiger.bat
==============================================================================
--- vtigercrm/branches/5.0.3/pkg/bin/startvTiger.bat (original)
+++ vtigercrm/branches/5.0.3/pkg/bin/startvTiger.bat Mon Nov 20 04:48:02 2006
@@ -43,23 +43,23 @@
echo ""
echo "making an attempt to kill any existing vtigercrm service"
echo ""
-bin\apache -k stop -n vtigercrm501
-bin\apache -k uninstall -n vtigercrm501
+bin\apache -k stop -n vtigercrm503
+bin\apache -k uninstall -n vtigercrm503
echo "Uninstalling apache service again for confirmation after sleeping for 10 seconds"
echo ""
%SLEEP_STR% -n 10 127.0.0.1>nul
-bin\apache -k stop -n vtigercrm501
-bin\apache -k uninstall -n vtigercrm501
+bin\apache -k stop -n vtigercrm503
+bin\apache -k uninstall -n vtigercrm503
echo ""
echo ""
-echo "Installing vtigercrm501 apache service after sleeping for 10 seconds"
+echo "Installing vtigercrm503 apache service after sleeping for 10 seconds"
echo ""
%SLEEP_STR% -n 10 127.0.0.1>nul
-bin\apache -k install -n vtigercrm501 -f conf\httpd.conf
+bin\apache -k install -n vtigercrm503 -f conf\httpd.conf
echo ""
-echo "Starting vtigercrm501 apache service"
+echo "Starting vtigercrm503 apache service"
echo ""
-bin\apache -n vtigercrm501 -k start
+bin\apache -n vtigercrm503 -k start
IF ERRORLEVEL 1 goto stopservice
goto checkmysql
@@ -117,27 +117,27 @@
:checkdatabase
echo ""
-echo "check to see if vtigercrm501 database already exists"
+echo "check to see if vtigercrm503 database already exists"
echo ""
-mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm501'" | "%WINDIR%\system32\find.exe" "vtigercrm501" > NUL
+mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm503'" | "%WINDIR%\system32\find.exe" "vtigercrm503" > NUL
IF ERRORLEVEL 1 goto dbnotexists
echo ""
-ECHO "vtigercrm501 database exists"
+ECHO "vtigercrm503 database exists"
echo ""
goto end
:dbnotexists
echo ""
-ECHO "vtigercrm501 database does not exist"
+ECHO "vtigercrm503 database does not exist"
echo ""
echo %cd%
echo ""
-echo "Proceeding to create database vtigercrm501 and populate the same"
+echo "Proceeding to create database vtigercrm503 and populate the same"
echo ""
-mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm501"
+mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm503"
echo ""
-echo "vtigercrm501 database created"
+echo "vtigercrm503 database created"
echo ""
goto end
Modified: vtigercrm/branches/5.0.3/pkg/bin/startvTiger.sh
==============================================================================
--- vtigercrm/branches/5.0.3/pkg/bin/startvTiger.sh (original)
+++ vtigercrm/branches/5.0.3/pkg/bin/startvTiger.sh Mon Nov 20 04:48:02 2006
@@ -111,14 +111,14 @@
fi
echo ""
-echo "Checking if the vtigercrm501 database already exists"
+echo "Checking if the vtigercrm503 database already exists"
echo ""
-echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -D vtigercrm501 >/dev/null
+echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -D vtigercrm503 >/dev/null
if [ $? -ne 0 ]; then
echo ""
- echo "Database vtigercrm501 does not exist. Creating database vtigercrm501"
+ echo "Database vtigercrm503 does not exist. Creating database vtigercrm503"
echo ""
- ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm501"
+ ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm503"
fi
host=`hostname`
Modified: vtigercrm/branches/5.0.3/pkg/bin/stopvTiger.bat
==============================================================================
--- vtigercrm/branches/5.0.3/pkg/bin/stopvTiger.bat (original)
+++ vtigercrm/branches/5.0.3/pkg/bin/stopvTiger.bat Mon Nov 20 04:48:02 2006
@@ -32,13 +32,13 @@
cd /d %apache_dir%
rem shut down apache
echo ""
-echo "stopping vtigercrm501 apache service"
+echo "stopping vtigercrm503 apache service"
echo ""
-bin\apache -n vtigercrm501 -k stop
+bin\apache -n vtigercrm503 -k stop
echo ""
-echo "uninstalling vtigercrm501 apache service"
+echo "uninstalling vtigercrm503 apache service"
echo ""
-bin\apache -k uninstall -n vtigercrm501
+bin\apache -k uninstall -n vtigercrm503
rem .\bin\ShutdownApache.exe logs\httpd.pid
goto StopMySQL
More information about the vtigercrm-commits
mailing list