| #!/bin/bash |
| # ----------------------------------------------------------------------------- |
| # Starts ONOS Apache Karaf container |
| # ----------------------------------------------------------------------------- |
| |
| # uncomment the following line for performance testing |
| #export JAVA_OPTS="${JAVA_OPTS:--Xms8G -Xmx8G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps}" |
| |
| ONOS_HOME=/opt/onos |
| |
| [ -d $ONOS_HOME ] && cd $ONOS_HOME || ONOS_HOME=$(dirname $0)/.. |
| ${ONOS_HOME}/apache-karaf-$KARAF_VERSION/bin/karaf "$@" |