From 8cb9c49645eeec0b3ede8a05554dd59455c1fbf0 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 11 Jul 2020 09:22:16 -0500 Subject: [PATCH] Specify max memory for backups Just tried to dump home and it ate like 4 gigs lmao --- roles/backups/templates/9iron-backup.service | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/backups/templates/9iron-backup.service b/roles/backups/templates/9iron-backup.service index 192e4bd..888ff21 100644 --- a/roles/backups/templates/9iron-backup.service +++ b/roles/backups/templates/9iron-backup.service @@ -4,6 +4,7 @@ Description=9iron backup service [Service] Type=oneshot +MemoryMax=256M ExecStart=/opt/backups/backup.sh [Install]