File: felix-framework.sh

package info (click to toggle)
felix-main 5.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 652 kB
  • sloc: java: 553; xml: 170; sh: 15; makefile: 5
file content (16 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

FELIX_HOME="/usr/share/felix-framework"
FELIX_CONF="/etc/felix-framework/config.properties"
FELIX_OPTS=""
JAVA_OPTS="-Dfelix.config.properties=file:$FELIX_CONF"

# Include the wrappers utility script
. /usr/lib/java-wrappers/java-wrappers.sh

# We need a java5 runtime
find_java_runtime java5 java6 java7

exec $JAVA_HOME/bin/java $JAVA_OPTS -jar $FELIX_HOME/bin/felix.jar $FELIX_OPTS "$@"