refactor: harden restic configuration

move secrets to .env file so they work on their own, initialize restic repo on fresh deployments
This commit is contained in:
2026-07-12 23:46:29 +02:00
parent c4c8d6de7f
commit 71a02e0f86
5 changed files with 47 additions and 11 deletions
@@ -4,4 +4,5 @@ After=network-online.target
[Service]
Type=oneshot
EnvironmentFile=/etc/restic-backup.env
ExecStart=/usr/local/bin/restic-backup.sh