Files
Piik/deploy/systemd/screener-livekit-readiness.conf.example
T
AAA de6f6aa466 fix(route): reserve deadline stages for fallback (#214)
Prevents silent peer candidates from starving selected/SFU fallback while preserving one room-serial operation and one total deadline.
2026-08-23 23:59:56 +08:00

10 lines
410 B
Plaintext

# Install as /etc/systemd/system/screener.service.d/livekit-readiness.conf only
# when this Screener instance is configured with the same-host LiveKit owner.
[Unit]
Wants=livekit.service
After=livekit.service
[Service]
ExecStartPre=/bin/sh -c 'attempt=0; until curl -sS --max-time 1 -o /dev/null http://127.0.0.1:7880 2>/dev/null; do attempt=$((attempt + 1)); [ "$attempt" -ge 30 ] && exit 1; sleep 1; done'