diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..21d19a0 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,7 @@ +#!/bin/sh +autorestic $AUTORESTIC_INITIAL_ARGS +if [ -n "$CRON_CONFIG_DIR" ] +then + echo "CRON_CONFIG_DIR is set, cron enabled" + crond -f -L /var/log/cron.log +fi \ No newline at end of file