Files
dropshell-templates/gitea-server/stop.sh
j eebd3efcf3
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s
Update gitea-server/stop.sh
2026-01-15 12:59:20 +13:00

12 lines
331 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"