[clamav-users] --foreground=true

Reindl Harald h.reindl at thelounge.net
Thu Apr 12 17:47:09 UTC 2018



Am 12.04.2018 um 18:04 schrieb Matus UHLAR - fantomas:
> On 11.04.18 10:24, paul.guijt at gmail.com wrote:
>> On my Raspbian system htop reports clamd runs with the -foreground=true
>> option, although I have commented that out in the configs.
> 
> your raspbian apparently uses systemd, process manager who prefers to run
> applications in foreground (because in case of systemd, forking to
> background is useless)

this is *not* true

with foreground other services like clamav-milter are stated instantly,
while with forking they are started after clamd has finished to load
signatures

the difference is when services really depend one on another like in
this cases with forking (unless the service supports systemd native with
type=notify) you have errors with a brainedead --foreground



More information about the clamav-users mailing list