restic-compose-backup/entrypoint.sh
Einar Forselv f1738147d6 Cleanup
2019-11-15 14:23:56 +01:00

8 lines
173 B
Bash
Executable file

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