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

18 lines
465 B
Bash

#!/bin/bash
source "${AGENT_PATH}/_common.sh"
check_required_env_vars "CONTAINER_NAME"
# Watchtower Status Script
# Load service environment variables
source ./service.env
_is_container_running $CONTAINER_NAME || _die "Service is not running - did not find container $CONTAINER_NAME."
# Optional: Add specific health checks for Watchtower if needed.
# For example, check logs for recent activity or errors.
echo "Service ${CONTAINER_NAME} is running."
exit 0