diff --git a/roles/backup/templates/backup.service b/roles/backup/templates/backup.service index 2ff483d..8f7c2a7 100644 --- a/roles/backup/templates/backup.service +++ b/roles/backup/templates/backup.service @@ -8,7 +8,8 @@ StartLimitBurst=5 [Service] Type=oneshot -MemoryMax=512M +#MemoryMax=512M +Environment="GOGC=20" ExecStart=/opt/backup.sh Restart=on-failure RestartSec=5