Commit 63e5fbf
committed
fix(backup): pin HOME=/root in restic env to keep the cache across runs
systemd services boot with a minimal env — restic warns "neither
\$XDG_CACHE_HOME nor \$HOME are defined" and re-fetches the R2 index
every run instead of using a persistent cache. Add HOME='/root' to
the EnvironmentFile so restic can cache under /root/.cache/restic
between the daily runs.1 parent 0a018eb commit 63e5fbf
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
| |||
0 commit comments