-
Notifications
You must be signed in to change notification settings - Fork 0
/
servicerun.bat
47 lines (43 loc) · 4.92 KB
/
servicerun.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@echo off
rem START or STOP Services
rem ----------------------------------
rem Check if argument is STOP or START
if not ""%1"" == ""START"" goto stop
if exist "C:\Bitnami\WORDPR~1.5-1\hypersonic\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\server\hsql-sample-database\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\ingres\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\ingres\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\mysql\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\mysql\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\postgresql\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\postgresql\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\elasticsearch\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\elasticsearch\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\logstash\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\logstash\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\openoffice\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\openoffice\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\apache-tomcat\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\apache-tomcat\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\apache2\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\apache2\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\resin\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\resin\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\activemq\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\activemq\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\jetty\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\jetty\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\subversion\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\subversion\scripts\servicerun.bat" START)
rem RUBY_APPLICATION_START
if exist "C:\Bitnami\WORDPR~1.5-1\lucene\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\lucene\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\mongodb\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\mongodb\scripts\servicerun.bat" START)
if exist "C:\Bitnami\WORDPR~1.5-1\third_application\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\third_application\scripts\servicerun.bat" START)
goto end
:stop
echo "Stopping services ..."
if exist "C:\Bitnami\WORDPR~1.5-1\third_application\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\third_application\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\lucene\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\lucene\scripts\servicerun.bat" STOP)
rem RUBY_APPLICATION_STOP
if exist "C:\Bitnami\WORDPR~1.5-1\subversion\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\subversion\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\jetty\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\jetty\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\hypersonic\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\server\hsql-sample-database\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\resin\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\resin\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\activemq\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\activemq\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\openoffice\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\openoffice\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\apache2\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\apache2\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\apache-tomcat\scripts\servicerun.bat" (start "" /MIN /WAIT "C:\Bitnami\WORDPR~1.5-1\apache-tomcat\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\logstash\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\logstash\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\elasticsearch\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\elasticsearch\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\ingres\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\ingres\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\mysql\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\mysql\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\mongodb\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\mongodb\scripts\servicerun.bat" STOP)
if exist "C:\Bitnami\WORDPR~1.5-1\postgresql\scripts\servicerun.bat" (start "" /MIN "C:\Bitnami\WORDPR~1.5-1\postgresql\scripts\servicerun.bat" STOP)
:end