Update neutron to 9.0.0.0b1
[openstack-build/neutron-build.git] / xenial / debian / neutron-l3-agent.init.in
diff --git a/xenial/debian/neutron-l3-agent.init.in b/xenial/debian/neutron-l3-agent.init.in
new file mode 100644 (file)
index 0000000..ccc8ea1
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-l3-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Should-Stop:       mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron L3 agent
+# Description:       Provide L3 agent for neutron
+### END INIT INFO
+
+# Authors: Mehdi Abaakouk <sileht@sileht.net>
+#          Thomas Goirand <zigo@debian.org>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="OpenStack Neutron L3 agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-l3-agent
+# --config-file=/etc/neutron/neutron.conf will be happened 
+# to DAEMON_ARGS later by openstack-pkg-tools
+DAEMON_ARGS="--config-file=/etc/neutron/l3_agent.ini"