From 1768e94b9e600884d43e65b3ef05e379f043a196 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Sat, 22 Mar 2014 23:20:07 -0400 Subject: python-neutron: get the l3-agent properly packaged The recipe had the initial groundwork established to create the l3-agent package but some aspects were incomplete. Add the necessary .ini file and create the initscript necessary to launch the l3-agent at boot time. Signed-off-by: Mark Asselstine --- .../recipes-devtools/python/python-neutron/neutron-agent.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init') diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init index 01cb27e..8bd4c23 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init @@ -12,6 +12,7 @@ SUFFIX=@suffix@ DESC="neutron-$SUFFIX-agent" DAEMON="/usr/bin/neutron-$SUFFIX-agent" PIDFILE="/var/run/neutron-$SUFFIX-agent.pid" +DAEMON_ARGS="@args@" start() { @@ -34,7 +35,7 @@ start() start-stop-daemon --start --quiet --background \ --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ - -- --log-dir=/var/log/neutron + -- ${DAEMON_ARGS} --log-dir=/var/log/neutron if [ $? -eq 0 ]; then echo "done." -- cgit v1.2.3-54-g00ecf