Files
dropshell-templates/graylog-client/start.sh
j e1e711fc9c
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
Update 34 files
2026-02-27 10:17:38 +13:00

11 lines
313 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"
docker compose -p "${CONTAINER_NAME}" up -d || _die "Failed to start"
echo "Graylog client started"