From fe5164aeef1c3fab581272201e4e21f8821e8784 Mon Sep 17 00:00:00 2001 From: Ilya Tyaptin Date: Tue, 23 Dec 2014 14:53:43 +0400 Subject: [PATCH] Fix redis service restarting for Ceilometer In Ubuntu redis service is named as redis-server. So in this patchset different restarting for this service at different OSes have been added. Change-Id: I406e3556c7b9a2bef8277f34862375c5ffd3888e Closes-bug: #1405147 --- lib/ceilometer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ceilometer b/lib/ceilometer index 1f480eaf63..f6280d9d3b 100644 --- a/lib/ceilometer +++ b/lib/ceilometer @@ -272,12 +272,12 @@ function init_ceilometer { function install_redis { if is_ubuntu; then install_package redis-server + restart_service redis-server else # This will fail (correctly) where a redis package is unavailable install_package redis + restart_service redis fi - - restart_service redis } # install_ceilometer() - Collect source and prepare