From 67068ef415bb0011128f5860efd8c754094c1cb5 Mon Sep 17 00:00:00 2001 From: Stephen Mulcahy Date: Thu, 21 Feb 2013 11:20:58 +0000 Subject: [PATCH] Added cinder-backup service (not enabled by default) cinder-backup service has been added to cinder. This fix adds the cinder-backup service. To enable this service, c-bak must be added to ENABLED_SERVICES in the users localrc. To actually perform a backup the user must enable swift or another service. Change-Id: If4ef8d78081be572987e7c38c76ff57e82b4f744 --- lib/cinder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cinder b/lib/cinder index 49db4103a9..c8291a2e47 100644 --- a/lib/cinder +++ b/lib/cinder @@ -361,6 +361,7 @@ function start_cinder() { screen_it c-api "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF" screen_it c-vol "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-volume --config-file $CINDER_CONF" screen_it c-sch "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-scheduler --config-file $CINDER_CONF" + screen_it c-bak "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-backup --config-file $CINDER_CONF" # Start proxies if enabled if is_service_enabled c-api && is_service_enabled tls-proxy; then @@ -371,7 +372,7 @@ function start_cinder() { # stop_cinder() - Stop running processes function stop_cinder() { # Kill the cinder screen windows - for serv in c-api c-sch c-vol; do + for serv in c-api c-bak c-sch c-vol; do screen -S $SCREEN_NAME -p $serv -X kill done