From 78b15bf8215becf54dbf723aa3d65e7744645aca Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 14 May 2014 16:08:41 -0400 Subject: cinder: ensure log-dir is set correctly Make sure all Cinder services have the right setting for log_dir in the init script as well as in the config setting in .conf file as we shouldn't only count on our init script launch to get logging right. Signed-off-by: Vu Tran --- meta-openstack/recipes-devtools/python/python-cinder/cinder-volume | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python/python-cinder/cinder-volume') diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume index 2c9334e..aec6ab0 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume @@ -35,7 +35,8 @@ start() echo -n "Starting $DESC..." start-stop-daemon --start --quiet --background \ - --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} + --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ + -- --log-dir=/var/log/cinder if [ $? -eq 0 ]; then echo "done." -- cgit v1.2.3-54-g00ecf