Update 2 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s

This commit is contained in:
j
2026-01-15 11:56:02 +13:00
parent cbc9215042
commit 5ca696d215
2 changed files with 7 additions and 6 deletions

View File

@@ -5,7 +5,8 @@ source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME"
# Check if container is running
_is_container_running "$CONTAINER_NAME" || _die "Service is not running - did not find container $CONTAINER_NAME."
echo "Service is healthy"
exit 0
if _is_container_running "$CONTAINER_NAME"; then
echo "Running"
else
echo "Stopped"
fi