Spaces:
Running
Running
Deploy Aureon OS (deploy/selfhost stack: nginx edge + fusion API x2 + console + HNC organ + redis + postgres; paper mode) (part 19)
da0ce7b verified Download scripts/linux/aureon-down.sh from GaryLeckey/aureon-os: direct link, hf CLI and curl.
- Browser
- Download file 985 Bytes
-
https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/scripts/linux/aureon-down.sh
- Command line
-
hf download hf://spaces/GaryLeckey/aureon-os/scripts/linux/aureon-down.sh
-
curl -L -o aureon-down.sh https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/scripts/linux/aureon-down.sh
985 Bytes
| # Aureon — stop the whole system (Linux). | |
| set -euo pipefail | |
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" | |
| cd "$ROOT" | |
| export PATH="$ROOT/.venv/bin:$PATH" | |
| export AUREON_ROOT="$ROOT" | |
| export AUREON_PYTHON="$ROOT/.venv/bin/python" | |
| export AUREON_START_SWARM=false | |
| export AUREON_START_FRONTEND=false | |
| if [ -S state/supervisor.sock ]; then | |
| if .venv/bin/supervisorctl -c deploy/supervisord.linux.conf shutdown; then | |
| echo "Legacy Aureon supervisor shutdown acknowledged over its checkout socket." | |
| else | |
| echo "Legacy supervisor did not acknowledge shutdown; no PID signal was sent." >&2 | |
| exit 1 | |
| fi | |
| elif [ -f state/supervisord.pid ]; then | |
| echo "Unverified legacy PID file present; refusing to signal a potentially recycled PID." >&2 | |
| echo "Verify process identity and ownership outside this script before manual shutdown." >&2 | |
| exit 1 | |
| else | |
| echo "Aureon does not appear to be running (no supervisor socket/pid)." | |
| fi | |