travelynx/docker-run.sh
2019-05-03 22:36:12 +02:00

12 lines
No EOL
178 B
Bash
Executable file

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