diff options
Diffstat (limited to 'deliveries/dbstop.sh')
-rwxr-xr-x | deliveries/dbstop.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/deliveries/dbstop.sh b/deliveries/dbstop.sh index 319b28ba..9c5b73a7 100755 --- a/deliveries/dbstop.sh +++ b/deliveries/dbstop.sh @@ -1,2 +1,9 @@ -docker stop ecompdb_portal -docker rm ecompdb_portal +#!/bin/bash + +# Establish environment variables +source $(dirname $0)/os_settings.sh + +echo "Stopping docker container named ${DB_CONT_NAME}" +docker stop ${DB_CONT_NAME} +echo "Removing docker container named ${DB_CONT_NAME}" +docker rm ${DB_CONT_NAME} |