EOX GitLab Instance

Skip to content
Snippets Groups Projects
run-registrar.sh 506 B
#!/bin/sh

echo "Running registrar" >&2
replace=""
if test "$REGISTRAR_REPLACE" = true; then
    replace="--replace"
fi

python3 /registrar.py \
    --mode redis \
    --redis-host ${REDIS_HOST} \
    --redis-port ${REDIS_PORT} \
    --redis-register-queue-key ${REDIS_REGISTER_QUEUE_KEY} \
    --redis-registered-set-key ${REDIS_REGISTERED_SET_KEY} \
    --redis-registered-set-key ${REDIS_REGISTERED_SET_KEY} \
    --reporting-dir ${REPORTING_DIR} \
    --service-url ${SERVICE_URL} \
    ${replace} >&2