Compare commits
1 Commits
master
...
7402f0a9c3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7402f0a9c3 |
@@ -110,14 +110,7 @@ confdroid_clamav
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22</pre>
|
||||
15</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 7</span>
|
||||
@@ -127,15 +120,8 @@ class confdroid_clamav::main::install (
|
||||
) inherits confdroid_clamav::params {
|
||||
require confdroid_resources::main::epel
|
||||
|
||||
if $cv_enable_clamd == true {
|
||||
package { 'clamd':
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}
|
||||
else {
|
||||
package { 'clamd':
|
||||
ensure => 'absent',
|
||||
}
|
||||
package { $cv_reqpackages:
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -9,14 +9,7 @@ class confdroid_clamav::main::install (
|
||||
) inherits confdroid_clamav::params {
|
||||
require confdroid_resources::main::epel
|
||||
|
||||
if $cv_enable_clamd == true {
|
||||
package { 'clamd':
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}
|
||||
else {
|
||||
package { 'clamd':
|
||||
ensure => 'absent',
|
||||
}
|
||||
package { $cv_reqpackages:
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,9 +14,9 @@ ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
Restart = on-failure
|
||||
TimeoutStartSec=<%= @cv_timeout_start_sec %>
|
||||
MemoryMax=<%= @cv_clamd_max_mem %>
|
||||
CPUQuota=<%= @cv_clamd_cpu_quota %>
|
||||
Nice=<%= @cv_nice_value %>
|
||||
# MemoryMax=<%= @cv_clamd_max_mem %>
|
||||
# CPUQuota=<%= @cv_clamd_cpu_quota %>
|
||||
# Nice=<%= @cv_nice_value %>
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user