Files
dropshell-templates/docker-registry/stop.sh
j c1e521a3b4
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 5s
add docker-registry
2026-01-14 10:29:13 +13:00

12 lines
314 B
Bash
Executable File

#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars
# STOP SCRIPT
# The stop script is required for all templates.
# It is used to stop the service on the server.
_stop_container "$CONTAINER_NAME" || _die "Failed to stop container ${CONTAINER_NAME}"
echo "Container ${CONTAINER_NAME} stopped"