Serghey Rodin 9 лет назад
Родитель
Сommit
bba62fee06
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      install/rhel/7/clamav/clamd.conf
  2. 1 1
      install/rhel/7/clamav/clamd.service

+ 1 - 1
install/rhel/7/clamav/clamd.conf

@@ -197,7 +197,7 @@ AllowSupplementaryGroups yes
 
 
 # Don't fork into background.
 # Don't fork into background.
 # Default: no
 # Default: no
-#Foreground yes
+Foreground yes
 
 
 # Enable debug messages in libclamav.
 # Enable debug messages in libclamav.
 # Default: no
 # Default: no

+ 1 - 1
install/rhel/7/clamav/clamd.service

@@ -4,7 +4,7 @@ After = syslog.target nss-lookup.target network.target
 
 
 [Service]
 [Service]
 Type = simple
 Type = simple
-ExecStart = /usr/sbin/clamd -c /etc/clamd.conf --nofork=yes
+ExecStart = /usr/sbin/clamd -c /etc/clamd.conf
 Restart = on-failure
 Restart = on-failure
 PrivateTmp = true
 PrivateTmp = true