diff --git a/install/rhel/7/clamav/clamd.conf b/install/rhel/7/clamav/clamd.conf index c215bcb98..52ff68210 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 fdb3af7fd..798fef4e0 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