From 155cf868d7614b78d500ce8a03481e68f5268e63 Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Tue, 11 Jun 2019 08:29:46 +0200 Subject: [PATCH] api: correctly handle clamd@squidclamav The service wasn't enabled and disabled after antivirus configuration changes. --- api/filter/update | 1 + 1 file changed, 1 insertion(+) diff --git a/api/filter/update b/api/filter/update index 66e82c6..8b67966 100755 --- a/api/filter/update +++ b/api/filter/update @@ -34,6 +34,7 @@ if ($cmd eq 'configuration') { my $cdb = esmith::ConfigDB->open('contentfilter'); $db->set_prop('ufdb', 'status', $input->{'Filter'}); $db->set_prop('squidclamav', 'status', $input->{'AntiVirus'}); + $db->set_prop('clamd@squidclamav', 'status', $input->{'AntiVirus'}); $db->set_prop('c-icap', 'status', $input->{'AntiVirus'}); $db->set_prop('squidguard','Expressions', $input->{'Expressions'});