Compare commits

..

1 Commits

Author SHA1 Message Date
Jenkins Server
34ca6d4389 Recommit for updates in build 17 2026-09-22 15:03:45 +02:00
3 changed files with 27 additions and 27 deletions

View File

@@ -227,18 +227,18 @@ class confdroid_clamav::main::files (
} }
# clamd service config file # clamd service config file
file { $cv_clamd_svc : # file { $cv_clamd_svc :
ensure => file, # ensure => file,
owner => 'root', # owner => 'root',
group => 'root', # group => 'root',
mode => '0600', # mode => '0600',
selrange => s0, # selrange => s0,
selrole => object_r, # selrole => object_r,
seltype => etc_t, # seltype => etc_t,
seluser => system_u, # seluser => system_u,
content => template($cv_clamd_svc_erb), # content => template($cv_clamd_svc_erb),
notify => Service[$cv_service], # notify => Service[$cv_service],
} # }
# shell script for scanning and alerting # shell script for scanning and alerting
file { $cv_shell_script : file { $cv_shell_script :

View File

@@ -51,18 +51,18 @@ class confdroid_clamav::main::files (
} }
# clamd service config file # clamd service config file
file { $cv_clamd_svc : # file { $cv_clamd_svc :
ensure => file, # ensure => file,
owner => 'root', # owner => 'root',
group => 'root', # group => 'root',
mode => '0600', # mode => '0600',
selrange => s0, # selrange => s0,
selrole => object_r, # selrole => object_r,
seltype => etc_t, # seltype => etc_t,
seluser => system_u, # seluser => system_u,
content => template($cv_clamd_svc_erb), # content => template($cv_clamd_svc_erb),
notify => Service[$cv_service], # notify => Service[$cv_service],
} # }
# shell script for scanning and alerting # shell script for scanning and alerting
file { $cv_shell_script : file { $cv_shell_script :

View File

@@ -14,9 +14,9 @@ ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
ExecReload=/bin/kill -USR2 $MAINPID ExecReload=/bin/kill -USR2 $MAINPID
Restart = on-failure Restart = on-failure
TimeoutStartSec=<%= @cv_timeout_start_sec %> TimeoutStartSec=<%= @cv_timeout_start_sec %>
MemoryMax=<%= @cv_clamd_max_mem %> # MemoryMax=<%= @cv_clamd_max_mem %>
CPUQuota=<%= @cv_clamd_cpu_quota %> # CPUQuota=<%= @cv_clamd_cpu_quota %>
Nice=<%= @cv_nice_value %> # Nice=<%= @cv_nice_value %>
[Install] [Install]
WantedBy = multi-user.target WantedBy = multi-user.target