Update versions.json
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 35s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 35s
This commit is contained in:
14
cloudflare-tunnel/logs.sh
Executable file
14
cloudflare-tunnel/logs.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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 1
|
||||
fi
|
||||
|
||||
# Show logs with follow by default
|
||||
echo "Showing logs for Cloudflare Tunnel (Ctrl+C to exit)..."
|
||||
echo "======================================================="
|
||||
docker logs -f "$CONTAINER_NAME" 2>&1
|
Reference in New Issue
Block a user