From bba62fee069039ea56bfe7eaf5c0aa6f68db90bf Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 1 Sep 2016 18:07:44 +0300 Subject: [PATCH] Foreground yes for clamd --- install/rhel/7/clamav/clamd.conf | 2 +- install/rhel/7/clamav/clamd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/rhel/7/clamav/clamd.conf b/install/rhel/7/clamav/clamd.conf index c215bcb9..52ff6821 100644 --- a/install/rhel/7/clamav/clamd.conf +++ b/install/rhel/7/clamav/clamd.conf @@ -197,7 +197,7 @@ AllowSupplementaryGroups yes # Don't fork into background. # Default: no -#Foreground yes +Foreground yes # Enable debug messages in libclamav. # Default: no diff --git a/install/rhel/7/clamav/clamd.service b/install/rhel/7/clamav/clamd.service index fdb3af7f..798fef4e 100644 --- a/install/rhel/7/clamav/clamd.service +++ b/install/rhel/7/clamav/clamd.service @@ -4,7 +4,7 @@ After = syslog.target nss-lookup.target network.target [Service] Type = simple -ExecStart = /usr/sbin/clamd -c /etc/clamd.conf --nofork=yes +ExecStart = /usr/sbin/clamd -c /etc/clamd.conf Restart = on-failure PrivateTmp = true