restic-compose-backup/entrypoint.sh

9 lines
178 B
Bash
Executable File

#!/bin/sh
# Dump all env vars so we can source them in cron jobs
printenv | sed 's/^\(.*\)$/export \1/g' > /root/env.sh
# start cron in the foreground
crontab crontab
crond -f