summaryrefslogtreecommitdiffstats
path: root/deliveries/widget_ms_stop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deliveries/widget_ms_stop.sh')
-rwxr-xr-xdeliveries/widget_ms_stop.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/deliveries/widget_ms_stop.sh b/deliveries/widget_ms_stop.sh
index 8c9abf56..dd5c9645 100755
--- a/deliveries/widget_ms_stop.sh
+++ b/deliveries/widget_ms_stop.sh
@@ -1,5 +1,9 @@
-echo "Stopping ecomp-portal-widget-ms container !!!"
-docker stop ecomp-portal-widget-ms
-echo "Removing docker image portal-widget-ms !!!"
-docker rm ecomp-portal-widget-ms
+#!/bin/bash
+# Establish environment variables
+source $(dirname $0)/os_settings.sh
+
+echo "Stopping docker container ${WMS_CONT_NAME}"
+docker stop ${WMS_CONT_NAME}
+echo "Removing docker image ${WMS_CONT_NAME}"
+docker rm ${WMS_CONT_NAME}