diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2014-03-22 23:20:07 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-04-15 19:48:37 -0400 |
| commit | 1768e94b9e600884d43e65b3ef05e379f043a196 (patch) | |
| tree | bda7de8ecbefad7244f7b27dc0bb88354bea40be /meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init | |
| parent | 8e8d5d43698b24af551a8c2c3b766cf545a7d340 (diff) | |
| download | meta-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.init | 3 |
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@ | |||
| 12 | DESC="neutron-$SUFFIX-agent" | 12 | DESC="neutron-$SUFFIX-agent" |
| 13 | DAEMON="/usr/bin/neutron-$SUFFIX-agent" | 13 | DAEMON="/usr/bin/neutron-$SUFFIX-agent" |
| 14 | PIDFILE="/var/run/neutron-$SUFFIX-agent.pid" | 14 | PIDFILE="/var/run/neutron-$SUFFIX-agent.pid" |
| 15 | DAEMON_ARGS="@args@" | ||
| 15 | 16 | ||
| 16 | start() | 17 | start() |
| 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." |
