Dropshell basic templates (WIP)
This commit is contained in:
13
watchtower/status.sh
Normal file
13
watchtower/status.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/_common.sh"
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
# Watchtower Status Script
|
||||
|
||||
_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
|
Reference in New Issue
Block a user