X-Git-Url: https://review.fuel-infra.org/gitweb?p=openstack-build%2Fneutron-build.git;a=blobdiff_plain;f=xenial%2Fdebian%2Fneutron-dhcp-agent.init.in;fp=xenial%2Fdebian%2Fneutron-dhcp-agent.init.in;h=2cb4131112101e4d5f3d18b4406606532a286146;hp=0000000000000000000000000000000000000000;hb=3421ecb02ab9522576c94908232ecdbc26f8c44d;hpb=1acf7e94e6878f9dad74b1bf951bc62e7c4b66b9 diff --git a/xenial/debian/neutron-dhcp-agent.init.in b/xenial/debian/neutron-dhcp-agent.init.in new file mode 100644 index 000000000..2cb413111 --- /dev/null +++ b/xenial/debian/neutron-dhcp-agent.init.in @@ -0,0 +1,23 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: neutron-dhcp-agent +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: mysql postgresql rabbitmq-server keystone +# Should-Stop: mysql postgresql rabbitmq-server keystone +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Neutron DHCP agent +# Description: Provide DHCP agent for neutron +### END INIT INFO + +# Author: Mehdi Abaakouk + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Neutron DHCP agent" +PROJECT_NAME=neutron +NAME=${PROJECT_NAME}-dhcp-agent +# --config-file=/etc/neutron/neutron.conf will be happened +# to DAEMON_ARGS later by openstack-pkg-tools +DAEMON_ARGS="--config-file=/etc/neutron/dhcp_agent.ini"