generate-ldif: add clamd service instead of clamav_db
Because clamd and clamav_db services was merged.
This commit is contained in:
parent
6588ee937f
commit
a8cd567731
|
@ -507,12 +507,12 @@ fi
|
||||||
if [ -n "${clamav_version}" ]; then
|
if [ -n "${clamav_version}" ]; then
|
||||||
cat <<EOT >> "${ldif_file}"
|
cat <<EOT >> "${ldif_file}"
|
||||||
|
|
||||||
dn: ServiceName=clamav_db,${computer_dn}
|
dn: ServiceName=clamd,${computer_dn}
|
||||||
NagiosEnabled: TRUE
|
NagiosEnabled: TRUE
|
||||||
objectClass: EvoService
|
objectClass: EvoService
|
||||||
ServiceName: clamav_db
|
ServiceName: clamd
|
||||||
ServiceType: antivirus
|
ServiceType: antivirus
|
||||||
ServiceVersion: ClamAV ${clamav_version}
|
ServiceVersion: Clamd ${clamav_version}
|
||||||
EOT
|
EOT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue