Update RPM-specs to 2013.2 version
[openstack-build/neutron-build.git] / rpm / SOURCES / neutron-openvswitch-agent.upstart
diff --git a/rpm/SOURCES/neutron-openvswitch-agent.upstart b/rpm/SOURCES/neutron-openvswitch-agent.upstart
new file mode 100644 (file)
index 0000000..080f0b8
--- /dev/null
@@ -0,0 +1,8 @@
+description "OpenStack Neutron Open vSwitch Agent"
+
+start on stopped rc RUNLEVEL=[2345]
+stop on runlevel [S016]
+
+respawn
+
+exec su -s /bin/sh -c "exec /usr/bin/neutron-openvswitch-agent --log-file /var/log/neutron/openvswitch-agent.log --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini" neutron