Am 17.10.18 um 18:21 schrieb Dino Edwards: > ExecStartPre=-/bin/mkdir /run/clamav > ExecStartPre=/bin/chown clamav /run/clamav
you don't get an error, an error is when the service don't start "If I delete the /var/run/clamav directory, I don’t get the error, but if I restart clamd again I get the error again. I’m not sure what the problem is" - idiot there is no problem "ExecStartPre=-/bin/mkdir /run/clamav" is prefixed with - so that the service don't fail in case the directory exists and "mkdir" natuarlly fails when a directory already exists when you delete the directory - guess what - it get created and no warning - frankly this is not a clamav topic at all but lack of basic understanding of your system _______________________________________________ clamav-users mailing list clamav-users@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