Merge "Use the right service name for tgt/tgtd in stop_cinder"
This commit is contained in:
commit
701718a844
@ -307,7 +307,11 @@ function stop_cinder() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if is_service_enabled c-vol; then
|
if is_service_enabled c-vol; then
|
||||||
stop_service tgt
|
if is_ubuntu; then
|
||||||
|
stop_service tgt
|
||||||
|
else
|
||||||
|
stop_service tgtd
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user