Files

7 lines
238 B
Bash
Raw Permalink Normal View History

2026-11-14 20:23:59 +01:00
#!/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