restic-compose-backup/entrypoint.sh

9 lines
173 B
Bash
Raw Permalink Normal View History

2019-04-13 17:04:54 +00:00
#!/bin/sh
# Dump all env vars so we can source them in cron jobs
2019-11-15 13:23:56 +00:00
printenv | sed 's/^\(.*\)$/export \1/g' > /env.sh
2019-04-13 17:04:54 +00:00
# start cron in the foreground
crontab crontab
crond -f