hydra/scripts/start-queue-runner.sh
Tobias Pflug 07a4465260 Use custom ports for postgres/hydra
Use custom ports so hydra and postgres can run in environments where
the default ports are in use already.
2020-05-15 12:37:16 +02:00

8 lines
202 B
Bash
Executable file

#!/bin/sh
# wait until hydra is listening on port 63333
while ! nc -z localhost 63333; do sleep 1; done
touch .hydra-data/hydra.conf
HYDRA_CONFIG=$(pwd)/.hydra-data/hydra.conf exec hydra-queue-runner