Browse code

Merge "Use the right service name for tgt/tgtd in stop_cinder"

Jenkins authored on 2012/12/20 03:39:36
Showing 1 changed files
... ...
@@ -307,7 +307,11 @@ function stop_cinder() {
307 307
     done
308 308
 
309 309
     if is_service_enabled c-vol; then
310
-        stop_service tgt
310
+        if is_ubuntu; then
311
+            stop_service tgt
312
+        else
313
+            stop_service tgtd
314
+        fi
311 315
     fi
312 316
 }
313 317