#!/bin/bash
# SPDX-License-Identifier: Apache-2.0

redis-server --port $redis_port &

rqworker $redis_queue &

rqscheduler --host $redis_host --port $redis_port &

python3 -m scheduler.scheduler

# open a listener on port 7890 for 1 second
# only for testing - CI script contains a wait-for-it that binds to this port
nc -l -p 7890 -w 1

tail -f /var/log/evidence_collector.log
