geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsny...@apache.org
Subject svn commit: r226422 - /geronimo/trunk/modules/assembly/src/scripts/startup.sh
Date Fri, 29 Jul 2005 23:18:06 GMT
Author: bsnyder
Date: Fri Jul 29 16:18:04 2005
New Revision: 226422

URL: http://svn.apache.org/viewcvs?rev=226422&view=rev
Log:
Updated the startup script.

Modified:
    geronimo/trunk/modules/assembly/src/scripts/startup.sh

Modified: geronimo/trunk/modules/assembly/src/scripts/startup.sh
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/assembly/src/scripts/startup.sh?rev=226422&r1=226421&r2=226422&view=diff
==============================================================================
--- geronimo/trunk/modules/assembly/src/scripts/startup.sh (original)
+++ geronimo/trunk/modules/assembly/src/scripts/startup.sh Fri Jul 29 16:18:04 2005
@@ -18,8 +18,7 @@
 # $Rev$ $Date$
 # --------------------------------------------------------------------
 
-BIN_DIR=bin
-SERVER_JAR=$BIN_DIR/server.jar
+SERVER_JAR=server.jar
 ARGS='-Djava.endorsed.dirs=lib/endorsed'
 
 if [ -z "$JAVA_HOME" ]; then
@@ -34,14 +33,9 @@
 
 JAVA=$JAVA_HOME/bin/java
 
-if [ ! -d "$BIN_DIR" ]; then 
-    echo "Unable to locate the $BIN_DIR directory"
-    exit 1
-fi
-
 if [ ! -f "$SERVER_JAR" ]; then 
     echo "Unable to locate the $SERVER_JAR jar"
     exit 1
 fi
 
-$JAVA $ARGS -jar $SERVER_JAR "$@"
+$JAVA $ARGS -jar $SERVER_JAR "$@" &



Mime
View raw message