Use the right service name for tgt/tgtd in stop_cinder
Change-Id: I58cf8cdf88a3edebed729f4460e8ce222db3664d
This commit is contained in:
parent
1bd2a1b186
commit
90dd96d478
@ -265,7 +265,11 @@ function stop_cinder() {
|
||||
done
|
||||
|
||||
if is_service_enabled c-vol; then
|
||||
stop_service tgt
|
||||
if is_ubuntu; then
|
||||
stop_service tgt
|
||||
else
|
||||
stop_service tgtd
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user