diff options
| author | Vu Tran <vu.tran@windriver.com> | 2014-05-14 16:08:41 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-05-23 14:41:26 -0400 |
| commit | 78b15bf8215becf54dbf723aa3d65e7744645aca (patch) | |
| tree | 12ccda74e555afdc9f975f248e999f29a536208b /meta-openstack/recipes-devtools/python/python-cinder/cinder-volume | |
| parent | a0346396ad9dd5be8dc4a283ebcdfd8f79b6ace0 (diff) | |
| download | meta-cloud-services-78b15bf8215becf54dbf723aa3d65e7744645aca.tar.gz | |
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 <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder/cinder-volume')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cinder/cinder-volume | 3 |
1 files changed, 2 insertions, 1 deletions
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() | |||
| 35 | echo -n "Starting $DESC..." | 35 | echo -n "Starting $DESC..." |
| 36 | 36 | ||
| 37 | start-stop-daemon --start --quiet --background \ | 37 | start-stop-daemon --start --quiet --background \ |
| 38 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} | 38 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ |
| 39 | -- --log-dir=/var/log/cinder | ||
| 39 | 40 | ||
| 40 | if [ $? -eq 0 ]; then | 41 | if [ $? -eq 0 ]; then |
| 41 | echo "done." | 42 | echo "done." |
