EOX GitLab Instance

Skip to content
Snippets Groups Projects
run-preprocessor.sh 402 B
Newer Older
#!/bin/sh

echo "Running preprocessor"
debug="--no-debug"
if test "$PREPROCESSOR_DEBUG" = true; then
    debug="--debug"
fi
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} \
    ${debug}