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

8 lines
145 B
Bash
Raw Normal View History

#!/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