2025-06-01 16:21:54 +12:00

11 lines
235 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "SERVER" "SERVICE" "GITEA_RUNNER_DIRECTORY"
# Call uninstall script first
./uninstall.sh
echo "Destroyed ${SERVICE}"