[clamav-users] clamav and systemd
Magnus Wild
magnus at kalasarn.se
Mon Dec 28 23:51:04 UTC 2015
On Mon, 2015-12-28 at 14:33 +0100, Michael K. wrote:
> I
> can start freshclam and also clamscan from a (bash) shell. now, i
> will
> enable clamd for "autostart" - have anyone a idea (or link to a
> description) how?
>
> on a root shell (bash) i can't enable the clam service:
> > [root at fedora]# systemctl enable clamav.service
> > Failed to execute operation: No such file or directory
Hello Michael!
Shouldn't the service-file be called "clamd.service" rather than
"clamav.service"? I think the "No such file or directory"-error occurs
simply because the service clamav.service-file cannot be found by
systemd.
Try "systemctl enable clamd" or "systemctl enable clamd.service"
instead and see if that works.
/Magnus
More information about the clamav-users
mailing list