|  | @@ -4,11 +4,24 @@
 | 
	
		
			
				|  |  |  # Usage : standalone.bat --debug
 | 
	
		
			
				|  |  |  #         standalone.bat --debug 9797
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +if [ -f /opt/jboss/start.log ] ; then
 | 
	
		
			
				|  |  | +  echo ###### start.log #########
 | 
	
		
			
				|  |  | +  cat /opt/jboss/start.log
 | 
	
		
			
				|  |  | +  echo ##########################
 | 
	
		
			
				|  |  | +  echo .
 | 
	
		
			
				|  |  | +  echo .
 | 
	
		
			
				|  |  | +fi
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  if [ ! -z "$JBOSS_WAIT" ] ; then
 | 
	
		
			
				|  |  |    sleep $JBOSS_WAIT
 | 
	
		
			
				|  |  |  fi
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -gotmpl /opt/jboss/jboss-as-7.2.0.Final/standalone/configuration/standalone.xml.template > /opt/jboss/jboss-as-7.2.0.Final/standalone/configuration/standalone.xml
 | 
	
		
			
				|  |  | +gotmpl /opt/jboss/jboss-as-7.2.0.Final/standalone/configuration/standalone.xml.template /opt/jboss/jboss-as-7.2.0.Final/standalone/configuration/standalone.xml
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +if [ ! $? -eq 0 ] ; then
 | 
	
		
			
				|  |  | +  echo FAILED
 | 
	
		
			
				|  |  | +  exit 1
 | 
	
		
			
				|  |  | +fi
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if [ ! -z "$DEV_MODE" ] ; then
 | 
	
		
			
				|  |  |    echo ###### standalone.xml ######
 |