diff --git a/utils/common.sh b/utils/common.sh index 6ae7a3a..67ee5c5 100644 --- a/utils/common.sh +++ b/utils/common.sh @@ -147,10 +147,10 @@ function detect_cpu_instructions() { # the Python virtual environement. function detect_existing_instance() { echo -ne "➤ Checking for existing instance... " - if [ -n "$(docker ps -a --filter="name=ovos*|hivemind*" -q 2>>"$LOG_FILE")" ]; then + if [ -n "$(docker ps -a --filter="name=ovos_core|ovos_messagebus|hivemind*" -q 2>>"$LOG_FILE")" ]; then export EXISTING_INSTANCE="true" export INSTANCE_TYPE="containers" - elif [ -n "$(podman ps -a --filter="name=ovos*|hivemind*" -q 2>>"$LOG_FILE")" ]; then + elif [ -n "$(podman ps -a --filter="name=ovos_core|ovos_messagebus|hivemind*" -q 2>>"$LOG_FILE")" ]; then export EXISTING_INSTANCE="true" export INSTANCE_TYPE="containers" elif [ -d "${RUN_AS_HOME}/.venvs/ovos" ]; then