From 8e32d2ad324e0935595ab91a46f7a0acf8368771 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Tue, 22 Sep 2026 13:38:17 +0200 Subject: [PATCH] OP#785 add control for clamd service config file --- templates/clamd_svc.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/clamd_svc.erb b/templates/clamd_svc.erb index 9eee048..1a43320 100644 --- a/templates/clamd_svc.erb +++ b/templates/clamd_svc.erb @@ -14,6 +14,9 @@ ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf ExecReload=/bin/kill -USR2 $MAINPID Restart = on-failure TimeoutStartSec=420 +MemoryLimit=1024M +CPUQuota=30% +Nice=19 [Install] WantedBy = multi-user.target