Hello,

Is there anywhere to get clamd freshclam file to run as a daemon for Centos 6 
please, so the service can be stopped and started, etc.

I have this for Centos 7 but is systemd residing in 
/lib/systemd/system/clamd-freshclam.service, which does not work for Centos 6:

# Run freshclam as a daemon.
[Unit]
Description = ClamAV Freshclam service.
After = network.target
[Service]
Type = forking
ExecStart = /usr/bin/freshclam --daemon --checks 2
Restart = on-failure
PrivateTmp = true
[Install]
WantedBy=multi-user.target


I have been modifying the following Ansible role which works for Centos 7, but 
trying to get it to work for Centos 6 so need to get the Clamd freshclam 
service file in place for Centos 6:

https://github.com/geerlingguy/ansible-role-clamav

Regards,

Will
[https://avatars3.githubusercontent.com/u/481677?s=400&v=4]<https://github.com/geerlingguy/ansible-role-clamav>
geerlingguy/ansible-role-clamav: Ansible Role - 
GitHub<https://github.com/geerlingguy/ansible-role-clamav>
Ansible Role: ClamAV. Installs ClamAV on RedHat/CentOS and Debian/Ubuntu Linux 
servers. Requirements. None. Role Variables. Available variables are listed 
below, along with default values (see defaults/main.yml):. clamav_packages: - 
clamav - clamav-base - clamav-daemon
github.com

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to