#!/bin/sh

echo "Running preprocessor"

preprocessor daemon \
    --config-file /config.yaml \
    --host ${REDIS_HOST} \
    --port ${REDIS_PORT} \
    --listen-queue ${REDIS_PREPROCESS_QUEUE_KEY} \
    --listen-md-queue ${REDIS_PREPROCESS_MD_QUEUE_KEY} \
    --write-queue ${REDIS_REGISTER_QUEUE_KEY}
