docker-ckan/rootfs/setup/start_ckan.sh

9 lines
151 B
Bash
Executable File

#!/bin/bash
python prerun.py
if [ $? -eq 0 ]
then
gunicorn --log-file=- --paste production.ini
else
echo "[prerun] failed...not starting CKAN."
fi