attempt to add squash stuff. Tailscale works!
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 34s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 34s
This commit is contained in:
19
squashdisplay/stop.sh
Executable file
19
squashdisplay/stop.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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.
|
Reference in New Issue
Block a user