git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@66 af16638f-c34d-0410-8cfa-b39d5352b314

This commit is contained in:
kajan85 2008-06-20 19:23:08 +00:00
parent fbc7710581
commit f6a9816b7e

View File

@ -0,0 +1,19 @@
#!/bin/bash
for JAVA in "$JAVA_HOME/bin/java" "/usr/bin/java" "/usr/local/bin/java"
do
if [ -x $JAVA ]
then
break
fi
done
if [ ! -x $JAVA ]
then
echo "Unable to locate Java. Please set JAVA_HOME environment variable."
exit
fi
# start Red5
echo "Starting Red5..."
exec $JAVA -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH org.red5.server.Standalone