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

Matevz Erzen's avatar
Matevz Erzen committed
redis_host=$(cat constants.json | jq -r '.redis.host')
Matevz Erzen's avatar
Matevz Erzen committed
redis_port=$(cat constants.json | jq -r '.redis.port')
redis_queue=$(cat constants.json | jq -r '.redis.queue')
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

Zitnik, Anze's avatar
Zitnik, Anze committed
tail -f /var/log/evidence_collector.log