You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2012/03/24 01:41:03 UTC
svn commit: r1304687 - in /ofbiz/trunk: startofbiz.sh stopofbiz.sh
Author: hansbak
Date: Sat Mar 24 00:41:03 2012
New Revision: 1304687
URL: http://svn.apache.org/viewvc?rev=1304687&view=rev
Log:
revert start/stop script changes
Modified:
ofbiz/trunk/startofbiz.sh
ofbiz/trunk/stopofbiz.sh
Modified: ofbiz/trunk/startofbiz.sh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbiz.sh?rev=1304687&r1=1304686&r2=1304687&view=diff
==============================================================================
--- ofbiz/trunk/startofbiz.sh (original)
+++ ofbiz/trunk/startofbiz.sh Sat Mar 24 00:41:03 2012
@@ -22,9 +22,6 @@
ADMIN_PORT=10523
ADMIN_KEY=so3du5kasd5dn
-# set the parent directory as OFBiz Home
-OFBIZ_HOME="$( cd -P "$( dirname "$0" )" && pwd )"/..
-
# console log file
OFBIZ_LOG=runtime/logs/console.log
@@ -58,4 +55,4 @@ fi
# start ofbiz
#$JAVA $VMARGS -jar ofbiz.jar $* >>$OFBIZ_LOG 2>>$OFBIZ_LOG&
-(cd "$OFBIZ_HOME" && exec "$JAVA" $VMARGS -jar ofbiz.jar "$@")
+exec "$JAVA" $VMARGS -jar ofbiz.jar "$@"
Modified: ofbiz/trunk/stopofbiz.sh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/stopofbiz.sh?rev=1304687&r1=1304686&r2=1304687&view=diff
==============================================================================
--- ofbiz/trunk/stopofbiz.sh (original)
+++ ofbiz/trunk/stopofbiz.sh Sat Mar 24 00:41:03 2012
@@ -21,8 +21,6 @@
# ofbiz.admin.key and ofbiz.admin.port must match that which OFBIZ was started with
####
-OFBIZ_HOME="$( cd -P "$( dirname "$0" )" && pwd )"/..
-
# location of java executable
if [ -f "$JAVA_HOME/bin/java" ]; then
JAVA=$JAVA_HOME/bin/java
@@ -34,5 +32,5 @@ fi
ADMIN_PORT=10523
ADMIN_KEY=so3du5kasd5dn
-(cd "$OFBIZ_HOME" && $JAVA -Dofbiz.admin.port=$ADMIN_PORT -Dofbiz.admin.key=$ADMIN_KEY -jar ofbiz.jar -shutdown)
+$JAVA -Dofbiz.admin.port=$ADMIN_PORT -Dofbiz.admin.key=$ADMIN_KEY -jar ofbiz.jar -shutdown