This commit is contained in:
Einar Forselv
2019-04-13 19:04:54 +02:00
commit a3cdb38239
11 changed files with 280 additions and 0 deletions

8
restic-backup/entrypoint.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/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