add ubuntu support
[integration/packaging/puppet-opendaylight.git] / templates / upstart.odl.conf
1 # odl - opendaylight
2 #
3
4 description     "ODL - Open Day Light"
5
6 # Make sure we start before an interface receives traffic
7 start on (starting network-interface
8           or starting network-manager
9           or starting networking)
10
11 stop on runlevel [!023456]
12
13 console output
14
15 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64/
16
17 exec start-stop-daemon --start --chuid odl --group odl --exec /opt/opendaylight/bin/start
18
19