Files
git/image/entrypoint.sh

12 lines
190 B
Bash
Executable File

#!/bin/sh
# Get S3 data.
echo "Pulling data..."
./home/scripts/pull.sh
echo "Data pulled!"
# Run crontab.
/usr/sbin/crond -f -l 8 &
# shellcheck disable=SC2068
exec /usr/bin/entrypoint $@