from app.config import RelayConfig
from app.server import serve


def run_relay(settings: RelayConfig) -> int:
    return serve(settings)
