You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2011/02/17 17:05:22 UTC
svn commit: r1071670 -
/servicemix/smx3/trunk/distributions/apache-servicemix/src/main/release/bin/servicemix
Author: jbonofre
Date: Thu Feb 17 16:05:22 2011
New Revision: 1071670
URL: http://svn.apache.org/viewvc?rev=1071670&view=rev
Log:
[SM-2037] When using the start argument to the servicemix startup script, automatically create the data directory to be able to write the PID file.
Modified:
servicemix/smx3/trunk/distributions/apache-servicemix/src/main/release/bin/servicemix
Modified: servicemix/smx3/trunk/distributions/apache-servicemix/src/main/release/bin/servicemix
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/distributions/apache-servicemix/src/main/release/bin/servicemix?rev=1071670&r1=1071669&r2=1071670&view=diff
==============================================================================
--- servicemix/smx3/trunk/distributions/apache-servicemix/src/main/release/bin/servicemix (original)
+++ servicemix/smx3/trunk/distributions/apache-servicemix/src/main/release/bin/servicemix Thu Feb 17 16:05:22 2011
@@ -309,7 +309,7 @@ run() {
# -Dcygwin.user.home="$CYGHOME" \
# -Djava.endorsed.dirs="$SERVICEMIX_HOME/lib/endorsed" \
# org.codehaus.classworlds.Launcher \
- # "$@"
+ # "$@"
exec "$JAVA" \
$JAVA_OPTS \
$SERVICEMIX_OPTS \
@@ -320,7 +320,8 @@ run() {
-Djava.endorsed.dirs="$SERVICEMIX_HOME/lib/endorsed" \
org.codehaus.classworlds.Launcher \
"$@" &
-
+
+ test -d $SERVICEMIX_HOME/data || mkdir $SERVICEMIX_HOME/data
echo $! > $SERVICEMIX_HOME/data/servicemix.pid
exit 0
;;