Skip to content
Snippets Groups Projects
entrypoint.sh 340 B
Newer Older
#!/bin/bash

Matevz Erzen's avatar
Matevz Erzen committed
redis-server --port $redis_port &
Matevz Erzen's avatar
Matevz Erzen committed
rqworker $redis_queue &
Matevz Erzen's avatar
Matevz Erzen committed
rqscheduler --host $redis_host --port $redis_port &
Matevz Erzen's avatar
Matevz Erzen committed

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