assemblybot/files/entrypoint.sh
2020-08-14 23:49:24 +02:00

14 lines
219 B
Bash
Executable file

#!/bin/bash
# Create crontab with current environment variables
(
printenv
echo
cat /crontab.tpl
) > /etc/cron.d/assembly-cron
# Install crontab
crontab /etc/cron.d/assembly-cron
# Run cron daemon
exec cron -f