Update 34 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
This commit is contained in:
@@ -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 "========================================="
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user