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

8 lines
145 B
Bash
Raw Permalink Normal View History

2020-08-08 15:04:59 +02:00
#!/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