summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2014-03-22 23:20:07 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-04-15 19:48:37 -0400
commit1768e94b9e600884d43e65b3ef05e379f043a196 (patch)
treebda7de8ecbefad7244f7b27dc0bb88354bea40be /meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
parent8e8d5d43698b24af551a8c2c3b766cf545a7d340 (diff)
downloadmeta-cloud-services-1768e94b9e600884d43e65b3ef05e379f043a196.tar.gz
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 <mark.asselstine@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init')
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init3
1 files changed, 2 insertions, 1 deletions
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@
12DESC="neutron-$SUFFIX-agent" 12DESC="neutron-$SUFFIX-agent"
13DAEMON="/usr/bin/neutron-$SUFFIX-agent" 13DAEMON="/usr/bin/neutron-$SUFFIX-agent"
14PIDFILE="/var/run/neutron-$SUFFIX-agent.pid" 14PIDFILE="/var/run/neutron-$SUFFIX-agent.pid"
15DAEMON_ARGS="@args@"
15 16
16start() 17start()
17{ 18{
@@ -34,7 +35,7 @@ start()
34 35
35 start-stop-daemon --start --quiet --background \ 36 start-stop-daemon --start --quiet --background \
36 --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ 37 --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \
37 -- --log-dir=/var/log/neutron 38 -- ${DAEMON_ARGS} --log-dir=/var/log/neutron
38 39
39 if [ $? -eq 0 ]; then 40 if [ $? -eq 0 ]; then
40 echo "done." 41 echo "done."