git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@66 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
fbc7710581
commit
f6a9816b7e
19
bigbluebutton-server/red5.sh
Normal file
19
bigbluebutton-server/red5.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user