docs: Add 24 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 48s

This commit is contained in:
Your Name
2025-09-22 23:57:38 +12:00
parent e27df71cd2
commit 2222a77070
12 changed files with 826 additions and 0 deletions

15
squashthumbnailmaker/status.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME"
# Check if the image exists
if docker images --format "{{.Repository}}:{{.Tag}}" | grep -q "^${CONTAINER_NAME}_image:latest$"; then
# Check if any containers are currently running with this image
if docker ps --filter "ancestor=${CONTAINER_NAME}_image:latest" --format "{{.ID}}" | grep -q .; then
echo "Running"
else
echo "Stopped"
fi
else
echo "Unknown"
fi