travelynx/docker-run.sh

12 lines
178 B
Bash
Raw Normal View History

2019-04-13 21:49:49 +00:00
#!/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