OP#785 add variables for clamd service limits

This commit is contained in:
2026-09-22 13:55:00 +02:00
parent dd1a1478ff
commit d0dc4b2fc8
2 changed files with 3 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
# Reload the database
ExecReload=/bin/kill -USR2 $MAINPID
Restart = on-failure
TimeoutStartSec=420
TimeoutStartSec=<%= @cv_timeout_start_sec %>
MemoryLimit=<%= @cv_clamd_max_mem %>
CPUQuota=<%= @cv_clamd_cpu_quota %>
Nice=<%= @cv_nice_value %>