guesstimate/misc/containers/hydra/first-run.sh

8 lines
145 B
Bash

#!/bin/sh
hydra migrate sql -e -y
hydra serve all --dangerous-force-http &
HYDRA_PID=$!
run-parts --exit-on-error /hydra-init.d
kill $HYDRA_PID