Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xverin committed Aug 12, 2024
1 parent 6d9f411 commit 95447f3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/run_parachain_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ function main {
parachain_container_id=$(docker ps --filter "name=para-aio" --format "{{.ID}}")
echo "Parachain container ID: $parachain_container_id"
echo "Showing parachain logs:"
docker logs -f --tail 200 $parachain_container_id
sleep 300 # wait for parachain to start
timeout 300 docker logs -f --tail 200 $parachain_container_id &

wait
restart_worker_services
worker_container_id=$(docker ps --filter "name=litentry-worker-0" --format "{{.ID}}")
echo "Worker container ID: $worker_container_id"
echo "Showing worker logs:"

docker logs -f --tail 200 $worker_container_id
sleep 120 # wait for worker to start
docker logs -f --tail 200 $worker_container_id &
sleep 300 # wait for worker to start

exit
}
Expand Down

0 comments on commit 95447f3

Please sign in to comment.