[Vtigercrm-commits] [vtiger-commits] r9583 - in /vtigercrm/branches/5.0.1/pkg/bin: startvTiger.bat startvTiger.sh stopvTiger.bat

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Oct 6 14:39:50 EDT 2006


Author: richie
Date: Fri Oct  6 12:39:45 2006
New Revision: 9583

Log:
changed 5 to 501

Modified:
    vtigercrm/branches/5.0.1/pkg/bin/startvTiger.bat
    vtigercrm/branches/5.0.1/pkg/bin/startvTiger.sh
    vtigercrm/branches/5.0.1/pkg/bin/stopvTiger.bat

Modified: vtigercrm/branches/5.0.1/pkg/bin/startvTiger.bat
==============================================================================
--- vtigercrm/branches/5.0.1/pkg/bin/startvTiger.bat (original)
+++ vtigercrm/branches/5.0.1/pkg/bin/startvTiger.bat Fri Oct  6 12:39:45 2006
@@ -43,23 +43,23 @@
 echo ""
 echo "making an attempt to kill any existing vtigercrm service"
 echo ""
-bin\apache -k stop -n vtigercrm5
-bin\apache -k uninstall -n vtigercrm5
+bin\apache -k stop -n vtigercrm501
+bin\apache -k uninstall -n vtigercrm501
 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 vtigercrm5
-bin\apache -k uninstall -n vtigercrm5 
+bin\apache -k stop -n vtigercrm501
+bin\apache -k uninstall -n vtigercrm501 
 echo ""
 echo ""
-echo "Installing  vtigercrm5 apache service after sleeping for 10 seconds"
+echo "Installing  vtigercrm501 apache service after sleeping for 10 seconds"
 echo ""
 %SLEEP_STR% -n 10 127.0.0.1>nul
-bin\apache -k install -n vtigercrm5 -f conf\httpd.conf
+bin\apache -k install -n vtigercrm501 -f conf\httpd.conf
 echo ""
-echo "Starting  vtigercrm5 apache service"
+echo "Starting  vtigercrm501 apache service"
 echo ""
-bin\apache -n vtigercrm5 -k start
+bin\apache -n vtigercrm501 -k start
 IF ERRORLEVEL 1 goto stopservice
 goto checkmysql
 
@@ -117,27 +117,27 @@
 
 :checkdatabase
 echo ""
-echo "check to see if vtigercrm5 database already exists"
+echo "check to see if vtigercrm501 database already exists"
 echo ""
-mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm5'" | "%WINDIR%\system32\find.exe" "vtigercrm5" > NUL
+mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm501'" | "%WINDIR%\system32\find.exe" "vtigercrm501" > NUL
 IF ERRORLEVEL 1 goto dbnotexists
 echo ""
-ECHO  "vtigercrm5 database exists"
+ECHO  "vtigercrm501 database exists"
 echo ""
 goto end
 
 
 :dbnotexists
 echo ""
-ECHO "vtigercrm5 database does not exist"
+ECHO "vtigercrm501 database does not exist"
 echo ""
 echo %cd%
 echo ""
-echo "Proceeding to create database vtigercrm5 and populate the same"
+echo "Proceeding to create database vtigercrm501 and populate the same"
 echo ""
-mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm5"
+mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm501"
 echo ""
-echo "vtigercrm5 database created"
+echo "vtigercrm501 database created"
 echo ""
 goto end
 

Modified: vtigercrm/branches/5.0.1/pkg/bin/startvTiger.sh
==============================================================================
--- vtigercrm/branches/5.0.1/pkg/bin/startvTiger.sh (original)
+++ vtigercrm/branches/5.0.1/pkg/bin/startvTiger.sh Fri Oct  6 12:39:45 2006
@@ -111,14 +111,14 @@
 		
 fi
 echo ""
-echo "Checking if the vtigercrm5 database already exists"
+echo "Checking if the vtigercrm501 database already exists"
 echo ""
-echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -D vtigercrm5 >/dev/null
+echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -D vtigercrm501 >/dev/null
 if [ $? -ne 0 ]; then
 	echo ""
-	echo "Database vtigercrm5 does not exist. Creating database vtigercrm5"
+	echo "Database vtigercrm501 does not exist. Creating database vtigercrm501"
 	echo ""
-	./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm5"
+	./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm501"
 fi
 
 host=`hostname`

Modified: vtigercrm/branches/5.0.1/pkg/bin/stopvTiger.bat
==============================================================================
--- vtigercrm/branches/5.0.1/pkg/bin/stopvTiger.bat (original)
+++ vtigercrm/branches/5.0.1/pkg/bin/stopvTiger.bat Fri Oct  6 12:39:45 2006
@@ -32,13 +32,13 @@
 cd /d %apache_dir%
 rem shut down apache
 echo ""
-echo "stopping vtigercrm5 apache service"
+echo "stopping vtigercrm501 apache service"
 echo ""
-bin\apache -n vtigercrm5 -k stop
+bin\apache -n vtigercrm501 -k stop
 echo ""
-echo "uninstalling vtigercrm5 apache service"
+echo "uninstalling vtigercrm501 apache service"
 echo ""
-bin\apache -k uninstall -n vtigercrm5
+bin\apache -k uninstall -n vtigercrm501
 rem .\bin\ShutdownApache.exe logs\httpd.pid
 goto StopMySQL
 





More information about the vtigercrm-commits mailing list