tom | 4d0c663 | 2014-09-15 23:27:01 -0700 | [diff] [blame] | 1 | #!/bin/bash |
Pavlin Radoslavov | 9141379 | 2014-10-15 11:00:32 -0700 | [diff] [blame] | 2 | # ----------------------------------------------------------------------------- |
tom | 4d0c663 | 2014-09-15 23:27:01 -0700 | [diff] [blame] | 3 | # Starts ONOS Apache Karaf container |
Pavlin Radoslavov | 9141379 | 2014-10-15 11:00:32 -0700 | [diff] [blame] | 4 | # ----------------------------------------------------------------------------- |
tom | 4d0c663 | 2014-09-15 23:27:01 -0700 | [diff] [blame] | 5 | |
Yuta HIGUCHI | f2548cb | 2014-11-03 18:02:25 -0800 | [diff] [blame^] | 6 | #export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-7-openjdk-amd64/} |
Thomas Vachuska | 4b42077 | 2014-10-30 16:46:17 -0700 | [diff] [blame] | 7 | export JAVA_OPTS="${JAVA_OPTS:--Xms256M -Xmx2048M}" |
tom | 5c25570 | 2014-09-18 06:57:39 -0700 | [diff] [blame] | 8 | |
tom | 0eaa97f | 2014-09-22 16:13:06 -0700 | [diff] [blame] | 9 | cd /opt/onos |
Thomas Vachuska | b105fd4 | 2014-10-20 09:02:27 -0700 | [diff] [blame] | 10 | /opt/onos/apache-karaf-$KARAF_VERSION/bin/karaf "$@" |