Fix uninstall script

This commit is contained in:
Your Name
2025-05-03 18:59:38 +12:00
parent fc8a142e91
commit e10704636f
3 changed files with 16 additions and 2 deletions

View File

@ -6,7 +6,7 @@
# It is called with the path to the server specific env file as an argument.
source "$(dirname "$0")/_common.sh"
check_required_env_vars "CONTAINER_NAME" "HOST_PORT" "VOLUME_NAME"
check_required_env_vars "CONTAINER_NAME" "HOST_PORT" "VOLUME_NAME" "WRITE_TOKENS"
# check volume exists.
if ! docker volume inspect "${VOLUME_NAME}" &>/dev/null; then