Spaces:
Runtime error
Runtime error
Publish Aureon OS from source ca6be206f108a2474a8cb38faf9ad3ae836e1479 (files 13751-14000/16781)
baf20e5 verified Download scripts/linux/aureon-down.sh from GaryLeckey/aureon-os: direct link, hf CLI and curl.
- Browser
- Download file 960 Bytes
-
https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/refs%2Fpr%2F1/scripts/linux/aureon-down.sh
- Command line
-
hf download hf://spaces/GaryLeckey/aureon-os@refs/pr/1/scripts/linux/aureon-down.sh
-
curl -L -o aureon-down.sh https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/refs%2Fpr%2F1/scripts/linux/aureon-down.sh
960 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 | |