Made Upstart config more consistent with others
[integration/packaging/puppet-opendaylight.git] / files / upstart.odl.conf
1 # odl - OpenDaylight SDN Controller
2 #
3 # NB: The ODL Upstart config provided by ODL Puppet mod isn't well supported
4
5 description     "OpenDaylight SDN Controller"
6
7 # Make sure we start before an interface receives traffic
8 start on (starting network-interface
9           or starting network-manager
10           or starting networking)
11
12 stop on runlevel [!023456]
13
14 console output
15
16 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64/
17
18 exec start-stop-daemon --start --chuid odl --group odl --exec /opt/opendaylight/bin/start
19
20