From dfb9601a5d8520dfe24e096a5751d165e8837232 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Tue, 22 Sep 2026 14:30:56 +0200 Subject: [PATCH] OP#785 switch MemoryLimit to MemoryMax --- templates/clamd_svc.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/clamd_svc.erb b/templates/clamd_svc.erb index dba92c0..09c46eb 100644 --- a/templates/clamd_svc.erb +++ b/templates/clamd_svc.erb @@ -14,7 +14,7 @@ ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf ExecReload=/bin/kill -USR2 $MAINPID Restart = on-failure TimeoutStartSec=<%= @cv_timeout_start_sec %> -MemoryLimit=<%= @cv_clamd_max_mem %> +MemoryMax=<%= @cv_clamd_max_mem %> CPUQuota=<%= @cv_clamd_cpu_quota %> Nice=<%= @cv_nice_value %>