14 lines
341 B
Bash
Executable File
14 lines
341 B
Bash
Executable File
#!/bin/bash
|
|
source "${AGENT_PATH}/common.sh"
|
|
_check_required_env_vars
|
|
|
|
# Watchtower Uninstall Script
|
|
|
|
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 have volumes to destroy.
|
|
|