Merge "Use right service name when stopping tgt in unstack.sh"

This commit is contained in:
Jenkins
2012-08-09 21:19:47 +00:00
committed by Gerrit Code Review

View File

@@ -54,7 +54,12 @@ if is_service_enabled cinder n-vol; then
echo "iSCSI target cleanup needed:"
echo "$TARGETS"
fi
stop_service tgt
if [[ "$os_PACKAGE" = "deb" ]]; then
stop_service tgt
else
stop_service tgtd
fi
fi
if [[ -n "$UNSTACK_ALL" ]]; then