Update to 8.0.0~b3
[openstack-build/neutron-build.git] / trusty / debian / neutron-openvswitch-agent.init.in
1 #!/bin/sh
2 ### BEGIN INIT INFO
3 # Provides:          neutron-openvswitch-agent
4 # Required-Start:    $network $local_fs $remote_fs $syslog openvswitch-switch
5 # Required-Stop:     $remote_fs openvswitch-switch
6 # Should-Start:      mysql postgresql rabbitmq-server keystone
7 # Should-Stop:       mysql postgresql rabbitmq-server keystone
8 # Default-Start:     2 3 4 5
9 # Default-Stop:      0 1 6
10 # Short-Description: Neutron OpenVSwitch Agent
11 # Description:       Agent to use within neutron openswitch client
12 ### END INIT INFO
13
14 # Authors: Julien Danjou <acid@debian.org>, Thomas Goirand <zigo@debian.org>
15
16 DESC="Openstack Neutron OpenVSwitch Plugin Agent"
17 PROJECT_NAME=neutron
18 NAME=${PROJECT_NAME}-openvswitch-agent
19 CONFIG_FILE=/etc/neutron/plugins/ml2/openvswitch_agent.ini
20
21 # Since Juno OVS plugin as been deprecated as core_plugin, it has been
22 # replaced by ml2 as core_plugin and ovs as agent. Making ml2 mandatory
23 # to use this agent
24 DAEMON_ARGS="--config-file=/etc/neutron/neutron.conf"