All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 10s
16 lines
404 B
Bash
Executable File
16 lines
404 B
Bash
Executable File
#!/bin/bash
|
|
source "${AGENT_PATH}/common.sh"
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
_check_required_env_vars "CONTAINER_NAME"
|
|
|
|
cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
|
|
|
|
# Stop and remove containers
|
|
docker compose down || true
|
|
|
|
# Remove the container if it still exists
|
|
_remove_container "$CONTAINER_NAME" 2>/dev/null || true
|
|
|
|
echo "Graylog client uninstalled"
|