summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-11-18 14:28:38 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-11-25 15:25:38 -0500
commit73d5afa1581566b00ae116034c958ab85f5b35fd (patch)
treef58ce4186f9c5eb03250b5e2fad42933ca35ae8f /meta-openstack/recipes-devtools/python/python-nova
parent7b5bba81e957c4107c02f71b0d41b0a3f035385f (diff)
downloadmeta-cloud-services-73d5afa1581566b00ae116034c958ab85f5b35fd.tar.gz
nova: generate per-service initscripts
Rather than use the catch-all "nova-all" initscript, we switch to one initscript per-service. The old nova-all is still installed, but not linked as an initscript, so it can be used as a fallback. In addition to per-service initscripts, we switch to generating those initscripts from a common template script. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova/nova.init (renamed from meta-openstack/recipes-devtools/python/python-nova/nova-compute)11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-compute b/meta-openstack/recipes-devtools/python/python-nova/nova.init
index 024b099..3a2bbac 100644
--- a/meta-openstack/recipes-devtools/python/python-nova/nova-compute
+++ b/meta-openstack/recipes-devtools/python/python-nova/nova.init
@@ -6,13 +6,14 @@
6# Required-Stop: $remote_fs $syslog 6# Required-Stop: $remote_fs $syslog
7# Default-Start: 3 5 7# Default-Start: 3 5
8# Default-Stop: 0 1 2 6 8# Default-Stop: 0 1 2 6
9# Short-Description: OpenStack Compute (Nova) - compute 9# Short-Description: OpenStack Compute (Nova) - @suffix@
10# Description: OpenStack Compute (Nova) - compute 10# Description: OpenStack Compute (Nova) - @suffix@
11### END INIT INFO 11### END INIT INFO
12 12
13DESC="nova-compute" 13SUFFIX="@suffix@"
14DAEMON="/usr/bin/nova-compute" 14DESC="nova-@suffix@"
15PIDFILE="/var/run/nova-compute.pid" 15DAEMON="/usr/bin/nova-$SUFFIX"
16PIDFILE="/var/run/nova-$SUFFIX.pid"
16 17
17start () 18start ()
18{ 19{