Update versions.json
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 35s

This commit is contained in:
Your Name
2025-09-06 14:17:56 +12:00
parent 20a3790834
commit 8e6b00bfee
12 changed files with 564 additions and 0 deletions

22
cloudflare-tunnel/stop.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME"
if ! _is_container_exists "$CONTAINER_NAME"; then
echo "Container $CONTAINER_NAME does not exist"
exit 0
fi
if ! _is_container_running "$CONTAINER_NAME"; then
echo "Container $CONTAINER_NAME is not running"
exit 0
fi
echo "Stopping Cloudflare Tunnel..."
_stop_container "$CONTAINER_NAME" || _die "Failed to stop container $CONTAINER_NAME"
echo "Cloudflare Tunnel stopped"
echo ""
echo "Note: The tunnel will show as 'Inactive' in your Cloudflare dashboard."
echo "Start it again with: ds start [server] cloudflare-tunnel"