Foreground yes for clamd

This commit is contained in:
Serghey Rodin 2016-09-01 18:07:44 +03:00
commit bba62fee06
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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