commit | 90dd96d4785bf12d66199c3fc8e2ea6a83090602 | [log] [tgz] |
---|---|---|
author | Vincent Untz <vuntz@suse.com> | Thu Dec 13 08:59:57 2012 +0100 |
committer | Vincent Untz <vuntz@suse.com> | Thu Dec 13 12:10:41 2012 +0100 |
tree | e82dbb426a7771f76beb726322cdf736c9581bb4 | |
parent | 1bd2a1b18601fa4f896160c348f2f5988d8b0106 [diff] [blame] |
Use the right service name for tgt/tgtd in stop_cinder Change-Id: I58cf8cdf88a3edebed729f4460e8ce222db3664d
diff --git a/lib/cinder b/lib/cinder index 16cbaf3..586cfcb 100644 --- a/lib/cinder +++ b/lib/cinder
@@ -265,7 +265,11 @@ done if is_service_enabled c-vol; then - stop_service tgt + if is_ubuntu; then + stop_service tgt + else + stop_service tgtd + fi fi }