initial commit

This commit is contained in:
Ludwig Lehnert
2026-02-03 16:39:37 +01:00
commit 70fe6076a4
30 changed files with 2128 additions and 0 deletions

10
backupd/entrypoint.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
CRON_EXPR="${BACKUP_CRON:-0 2 * * *}"
cat > /etc/backup-cron <<EOF
${CRON_EXPR} /usr/local/bin/backup.sh
EOF
exec /usr/local/bin/supercronic /etc/backup-cron