summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/cinder.init7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
index 0a3923a..ecf9d66 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
@@ -30,10 +30,15 @@ start()
30 fi 30 fi
31 fi 31 fi
32 32
33 if [ ! -d /var/log/cinder ]; then
34 mkdir /var/log/cinder
35 fi
36
33 echo -n "Starting $DESC..." 37 echo -n "Starting $DESC..."
34 38
35 start-stop-daemon --start --quiet --background \ 39 start-stop-daemon --start --quiet --background \
36 --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} 40 --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \
41 -- --log-dir=/var/log/cinder
37 42
38 if [ $? -eq 0 ]; then 43 if [ $? -eq 0 ]; then
39 echo "done." 44 echo "done."