Update 34 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s

This commit is contained in:
j
2026-02-27 10:17:38 +13:00
parent 266b90e281
commit e1e711fc9c
34 changed files with 45 additions and 45 deletions

View File

@@ -27,7 +27,7 @@ bash "$SCRIPT_DIR/scripts/generate-config.sh" || _die "Failed to generate config
# Start the client
echo "Starting Graylog Client..."
cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
docker compose up -d || _die "Failed to start"
docker compose -p "${CONTAINER_NAME}" up -d || _die "Failed to start"
echo ""
echo "========================================="

View File

@@ -5,6 +5,6 @@ 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 up -d || _die "Failed to start"
docker compose -p "${CONTAINER_NAME}" up -d || _die "Failed to start"
echo "Graylog client started"

View File

@@ -5,6 +5,6 @@ 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 down || true
docker compose -p "${CONTAINER_NAME}" down || true
echo "Graylog client stopped"

View File

@@ -7,7 +7,7 @@ _check_required_env_vars "CONTAINER_NAME"
cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
# Stop and remove containers
docker compose down || true
docker compose -p "${CONTAINER_NAME}" down || true
# Remove the container if it still exists
_remove_container "$CONTAINER_NAME" 2>/dev/null || true