Re: [Pkg-clamav-devel] Initial start of clamav-daemon

2016-05-07 Thread Sebastian Andrzej Siewior
On 2016-04-22 18:31:10 [+0200], Dilyan Palauzov wrote: > Hello, Hi, > My understanding is that during service start ConditionPathExistsGlob is > checked once and if it fails, it is not retried, contrary to something like > ExecStartPre=/bin/bash -c 'while ! [ -s /var/lib/clamav/main.inc -o -s >

Re: [Pkg-clamav-devel] Initial start of clamav-daemon

2016-04-27 Thread Dilyan Palauzov
Hello, if there is nothing in /var/lib/clamav this happens: root@debian-vm:/var/lib/clamav# clamd LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav ERROR: Can't open file or directory and clamd 0.99 is not forked. Anyway, there is no difference between

Re: [Pkg-clamav-devel] Initial start of clamav-daemon

2016-04-24 Thread Scott Kitterman
On April 24, 2016 1:59:24 PM EDT, Sebastian Andrzej Siewior wrote: >On 2016-04-22 18:31:10 [+0200], Dilyan Palauzov wrote: >> Hello, >Hi, > >> I propose removing the ConditionPathExistsGlob from >> clamav-daemon.s(ervice,ocket). Then, once freshclam is ready, it will

Re: [Pkg-clamav-devel] Initial start of clamav-daemon

2016-04-24 Thread Sebastian Andrzej Siewior
On 2016-04-22 18:31:10 [+0200], Dilyan Palauzov wrote: > Hello, Hi, > I propose removing the ConditionPathExistsGlob from > clamav-daemon.s(ervice,ocket). Then, once freshclam is ready, it will notify > clamd over the socket, systemd will start clamd because of > clamav-daemon.socket and

[Pkg-clamav-devel] Initial start of clamav-daemon

2016-04-22 Thread Dilyan Palauzov
Hello, on a fresh installed Debian Jessie with systemd and all packages updated, I call "apt-get install clamav-daemon". Then systemctl status clamav-daemon.socket shows: ● clamav-daemon.socket - Socket for Clam AntiVirus userspace daemon Loaded: loaded