-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README_XAMPP. New Launcher AgilityContest.bat
- Loading branch information
Showing
2 changed files
with
63 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@echo off | ||
cd /d %~dp0\..\xampp | ||
echo AgilityContest Launch Script | ||
echo ---------------------------------------- | ||
echo NO CERRAR ESTA VENTANA DURANTE LA SESION | ||
echo ---------------------------------------- | ||
echo MySQL Database is trying to start | ||
echo Please wait ... | ||
|
||
echo Starting MySQL Database server... | ||
start /B "" \xampp\mysql\bin\mysqld --defaults-file=mysql\bin\my.ini --standalone --console | ||
echo Starting Apache Web Server.... | ||
start /B "" \xampp\apache\bin\httpd.exe | ||
|
||
echo Opening AgilityContest console... | ||
start /W /MAX "AgilityContest" https://localhost/agility/console | ||
|
||
pause Press enter to finish AgilityContest session | ||
|
||
echo Apache Web Server shutdowm ... | ||
\xampp\apache\bin\pv -f -k httpd.exe -q | ||
if not exist apache\logs\httpd.pid GOTO stop_mysql | ||
del apache\logs\httpd.pid | ||
|
||
:stop_mysql | ||
echo MySQL DataBase shutdowm ... | ||
\xampp\apache\bin\pv -f -k mysqld.exe -q | ||
|
||
if not exist mysql\data\%computername%.pid GOTO finish | ||
echo Delete %computername%.pid ... | ||
del mysql\data\%computername%.pid | ||
|
||
:finish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters