Files
codexpi/scripts/start.sh
CodexPi 995b17a6e2
Some checks are pending
Qualité / tests (push) Waiting to run
feat: publish CodexPi contest snapshot
2026-11-14 20:23:59 +01:00

7 lines
238 B
Bash

#!/usr/bin/env bash
set -euo pipefail
BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
if [[ "$(id -u)" == "0" ]]; then echo "CodexPi refuse d'être lancé en root." >&2; exit 1; fi
cd "$BASE"
exec "$BASE/scripts/compose.sh" up -d