summaryrefslogtreecommitdiff
path: root/docker-run.sh
blob: b438a199571b0e1df8d0dc707f1778574548f5ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -eu

if [ ! -f travelynx.conf ]
then
	echo "The configuration file is missing"
	exit 1
fi

perl index.pl database migrate

exec /usr/local/bin/hypnotoad -f index.pl