Add 26 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s
This commit is contained in:
13
immich/status.sh
Executable file
13
immich/status.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC1091
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
# Check if main server container is running
|
||||
if ! _is_container_running "${CONTAINER_NAME}_server"; then
|
||||
_die "Service is not running - container ${CONTAINER_NAME}_server not found or stopped."
|
||||
fi
|
||||
|
||||
echo "Service is healthy"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user