Thank you for your contribution. Not too late I'm afraid. Still not working (on Ubuntu 18.04)
I followed your suggestion and had most of the settings already. I just needed to add PrivateTmp=true in the [Service]-section from /etc/systemd/system/multi-user.target.wants/clamav-daemon.service
Reloading the systemd daemon on Ubuntu is with systemctl daemon-reload
But I still get the same reading error on /tmp when using the daemon in stead of command line. Command line performance is awfull.
I followed your suggestion and had most of the settings already. I just needed to add PrivateTmp=true in the [Service]-section from /etc/systemd/system/multi-user.target.wants/clamav-daemon.service
Reloading the systemd daemon on Ubuntu is with systemctl daemon-reload
But I still get the same reading error on /tmp when using the daemon in stead of command line. Command line performance is awfull.