Files
dropshell-templates/gitea-server/stop.sh
j 245837a872
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 47s
Add 15 and update 3 files
2025-12-17 18:25:24 +13:00

12 lines
329 B
Bash
Executable File

#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME"
# 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"