summaryrefslogtreecommitdiff
path: root/systemd/restic-check.service
diff options
context:
space:
mode:
authorSam Scholten2025-10-22 14:12:20 +1000
committerSam Scholten2025-10-22 15:32:14 +1000
commiteded676575e6ef6150235b71d34ec4612f1a7bfb (patch)
tree3a82e1b91d3d6f09ec906d02c8367297a0751279 /systemd/restic-check.service
parent271b8d82b129b0818cf767e7c8245976f6422b50 (diff)
downloaddrestic-2fb72807b129d27cfc926795e1cf00af6f611339.tar.gz
drestic-2fb72807b129d27cfc926795e1cf00af6f611339.zip
Release v1.1.0: Critical multi-device fixes for small VPS instancesv1.1.0v1.1
- Fix memory swap configuration (allow 1G swap) - Add prune coordination (2-4 AM window with jitter) - Add lock retry settings for robustness - Increase rclone bandwidth to 2M - Memory limits increased to 512M
Diffstat (limited to 'systemd/restic-check.service')
-rw-r--r--systemd/restic-check.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/systemd/restic-check.service b/systemd/restic-check.service
index e840159..0892554 100644
--- a/systemd/restic-check.service
+++ b/systemd/restic-check.service
@@ -8,9 +8,10 @@ Type=oneshot
# ExecStart path will be replaced by setup.sh during installation
ExecStart=/path/to/be/replaced/restic_check.sh
# Environment variable will be set by setup.sh based on scope
-# Memory limits to prevent OOM on VPS
-MemoryMax=500M
-MemorySwapMax=500M
+Environment="HOME=/root"
+# Memory limits to prevent OOM on VPS (allow swap for safety)
+MemoryMax=512M
+MemorySwapMax=1G
[Install]
WantedBy=timers.target