Add proper Cleanup script.
Chore following such addition.
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
D2C_CTR_NAME=dir2config
|
||||
DLS_CTR_NAME=dls
|
||||
# Admin token to unlock the DLS store
|
||||
DLS_UNLOCK_TOKEN=changeme
|
||||
#
|
||||
@ -24,7 +22,7 @@ dir2config() {
|
||||
}
|
||||
|
||||
start_store() {
|
||||
if docker ps|grep " $DLS_CTR_NAME$" ; then
|
||||
if docker ps|grep " $DLS_CTR_NAME$" &>/dev/null; then
|
||||
pinfo "Container $DLS_CTR_NAME seems already running"
|
||||
return
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user