X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=trusty%2Fdebian%2Fneutron-metering-agent.init.in;fp=trusty%2Fdebian%2Fneutron-metering-agent.init.in;h=2e3a3c6600160f3283b9b7a294cc95158dfaec6b;hb=33f494780fed13daabda23be6ceef83210e1d403;hp=0000000000000000000000000000000000000000;hpb=54c2ba6a6661f3214775d91c5755c37c685574a4;p=openstack-build%2Fneutron-build.git diff --git a/trusty/debian/neutron-metering-agent.init.in b/trusty/debian/neutron-metering-agent.init.in new file mode 100644 index 000000000..2e3a3c660 --- /dev/null +++ b/trusty/debian/neutron-metering-agent.init.in @@ -0,0 +1,23 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: neutron-metering-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 Metering Agent agent +# Description: Provides Metering agent for neutron +### END INIT INFO + +# Author: Thomas Goirand + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Neutron Metering Agent" +PROJECT_NAME=neutron +NAME=${PROJECT_NAME}-metering-agent +# --config-file=/etc/neutron/neutron.conf will be happened +# to DAEMON_ARGS later by openstack-pkg-tools +DAEMON_ARGS="--config-file=/etc/neutron/metering_agent.ini"