Update specs to v. 2014.1.b3
[openstack-build/neutron-build.git] / debian / neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart
1 # vim:set ft=upstart ts=2 et:
2 description "Neutron OVS cleanup"
3 author "James Page <james.page@ubuntu.com>"
4
5 start on started openvswitch-switch
6 stop on runlevel [!2345]
7
8 pre-start script
9   [ ! -x /usr/bin/neutron-ovs-cleanup ] && exit 0 
10   start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-ovs-cleanup -- \
11     --log-file /var/log/neutron/ovs-cleanup.log \
12     --config-file /etc/neutron/neutron.conf --verbose
13 end script