1 # vim:set ft=upstart ts=2 et:
2 description "Neutron metering agent"
3 author "Chuck Short <zulcss@ubuntu.com>"
5 start on runlevel [2345]
6 stop on runlevel [!2345]
13 mkdir -p /var/run/neutron
14 chown neutron:root /var/run/neutron
17 exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-metering-agent -- \
18 --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/metering_agent.ini \
19 --log-file=/var/log/neutron/metering_agent.log