-
Notifications
You must be signed in to change notification settings - Fork 178
/
stop.bat
18 lines (15 loc) · 683 Bytes
/
stop.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
echo off
rem #####################################################################
rem This file is subject to the terms and conditions defined in the\n
rem files 'LICENSE' and 'NOTICE', which are part of this source\n
rem code package.
rem #####################################################################
%~d0
set OFBIZ_HOME=%~p0
rem ### Simple easy to read line
cd %OFBIZ_HOME%
echo on
"%JAVA_HOME%\bin\java" -jar ofbiz.jar -shutdown
echo off
rem ### If you would prefer the console output to be logged rather than displayed switch out the above line for this one
rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar > runtime\logs\console.log