Your Name 3d9b1fa6d2 .
2025-05-03 23:18:52 +12:00

18 lines
408 B
Bash

#!/bin/bash
source "${AGENT_PATH}/_common.sh"
check_required_env_vars
# Watchtower Uninstall Script
# Load service environment variables
source ./service.env
echo "Uninstalling service ${CONTAINER_NAME}..."
_remove_container $CONTAINER_NAME || _die "Failed to remove container ${CONTAINER_NAME}"
echo "Service ${CONTAINER_NAME} uninstalled."
# Note: Watchtower doesn't typically have volumes to nuke.