mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 06:35:24 +00:00
Initial
This commit is contained in:
8
restic-backup/entrypoint.sh
Executable file
8
restic-backup/entrypoint.sh
Executable 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
|
Reference in New Issue
Block a user