mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 17:58:07 +00:00
Move package to src/ to properly separate what goes into docker image
This commit is contained in:
8
src/entrypoint.sh
Executable file
8
src/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' > /env.sh
|
||||
|
||||
# start cron in the foreground
|
||||
crontab crontab
|
||||
crond -f
|
||||
Reference in New Issue
Block a user