project-nomad/install/stop_nomad.sh
Chris Sherwood 957e79bbc2
chore: standardize brand name to Project NOMAD, retire backronym
Retire the dotted "N.O.M.A.D." styling everywhere in favor of
"Project NOMAD" (no periods) ahead of the trademark filing, and
remove the "Node for Offline Media, Archives, and Data" backronym
from all copy except a single origin-story line in the About page
(corrected to "Maps" rather than "Media").

Scope is display strings only: docs, admin UI labels/titles, install
script output, Dockerfile labels, package.json description, and issue
templates. Code identifiers, container/service names, env vars, CSS
tokens, URLs, and the project-nomad slug are unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-04 03:37:32 +00:00

27 lines
655 B
Bash

#!/bin/bash
echo "Finding running Docker containers for Project NOMAD.."
containers=$(docker ps --filter "name=^nomad_" --format "{{.Names}}")
if [ -z "$containers" ]; then
echo "No running containers found for Project NOMAD"
exit 0
fi
echo "Found the following running containers:"
echo "$containers"
echo ""
for container in $containers; do
echo "Gracefully stopping container: $container"
if docker stop "$container"; then
echo "✓ Successfully stopped $container"
else
echo "✗ Failed to stop $container"
fi
echo ""
done
echo "Finished initiating graceful shutdown of all Project NOMAD containers."