summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorSam Scholten2025-09-11 16:48:55 +1000
committerSam Scholten2025-09-11 17:32:00 +1000
commit4f45a2c4ed34454677b493d9cfb5fe91af2b6cee (patch)
treea398d62535b99f93307d77c603fbbbb04422a5a4 /setup.sh
parent0556a3bf965a8972356765bd20026beaed171f30 (diff)
downloaddrestic-4f45a2c4ed34454677b493d9cfb5fe91af2b6cee.tar.gz
drestic-4f45a2c4ed34454677b493d9cfb5fe91af2b6cee.zip
Remove hardcoded HOME, increase rclone client timeout
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 6e9c0aa..10aafe9 100755
--- a/setup.sh
+++ b/setup.sh
@@ -318,6 +318,8 @@ RCLONE_RETRIES=10
RCLONE_RETRIES_SLEEP=30s
# Memory optimization for VPS environments
RESTIC_CACHE_DIR=/tmp/restic-cache
+# Increase HTTP timeout for restic communicating with rclone serve
+RESTIC_REST_TIMEOUT=300s
GOMAXPROCS=1
EOF
log "Setting permissions for $ENV_FILE to 600"