freshclamd bails out upon start from the systemd unit file with following message in the logs: ``` ERROR: Can't save PID to file /run/clamav/freshclam.pid: No such file or directory ``` Following patch fixes this: ``` --- freshclamd.service.orig 2015-11-13 22:15:17.849584088 +0100 +++ freshclamd.service 2015-11-13 22:15:34.503469285 +0100 @@ -3,6 +3,8 @@ [Service] Type=forking +User=clamav +RuntimeDirectory=clamav PIDFile=/run/clamav/freshclam.pid ExecStart=/usr/bin/freshclam -d -p /run/clamav/freshclam.pid ```
The same also applies to the clamd.service file.
Sorry, I have no idea about systemd as I don't use it myself, but patches welcome ;)
please let me know if you still have a problem with current versions