All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
12 lines
312 B
Bash
Executable File
12 lines
312 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.
|
|
|
|
docker compose -p "${CONTAINER_NAME}" stop || _die "Failed to stop Graylog stack"
|
|
|
|
echo "Graylog stack stopped"
|