
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 34s
19 lines
577 B
Bash
Executable File
19 lines
577 B
Bash
Executable File
#!/bin/bash
|
|
# shellcheck disable=SC1091
|
|
source "${AGENT_PATH}/common.sh"
|
|
_check_required_env_vars "CONTAINER_NAME"
|
|
|
|
echo "Stopping Squash Display container..."
|
|
|
|
if _is_container_running "$CONTAINER_NAME"; then
|
|
if _stop_container "$CONTAINER_NAME"; then
|
|
echo "Squash Display container stopped successfully."
|
|
else
|
|
_die "Failed to stop Squash Display container"
|
|
fi
|
|
else
|
|
echo "Squash Display container is not running."
|
|
fi
|
|
|
|
# Note: This only stops the Docker container used for setup.
|
|
# The kiosk itself runs directly on the host and is not affected. |