[clamav-users] --foreground=true
Micah Snyder (micasnyd)
micasnyd at cisco.com
Thu Apr 12 13:10:58 UTC 2018
The foreground option prevents clamd from forking and running in the background.
For users who run it from the terminal it means that it stays in the foreground and the user will continue to see output from clamd on the terminal, will need a new terminal to run anything else, and closing the terminal will exit clamd.
You can enable foreground behavior either using:
1. the "Foreground yes" config option clamd.conf
2. using the command line argument "--foreground"
If you're seeing "clamd --foreground=true" in htop, then clamd was started with the command line option --foreground=true. Changing the clamd.conf won't affect that.
Neither is "better". It just depends on your use case.
Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.
On Apr 11, 2018, at 4:24 AM, paul.guijt at gmail.com<mailto:paul.guijt at gmail.com> wrote:
Dear all,
On my Raspbian system htop reports clamd runs with the -foreground=true
option, although I have commented that out in the configs.
What does that option mean? Is background better? And if so, how can I get
the clam moving there?
BTW, I couldn't find that kind of info in the manual or online. Should I
have looked for it elsewhere?
Thanks!
Paul Guijt
_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
More information about the clamav-users
mailing list