Search found 1 match
- Wed Apr 20, 2016 11:57 am
- Forum: RHEL/CentOS
- Topic: why the folder /var/run/clamav will be deleted automatically after reboot?
- Replies: 6
- Views: 11906
Re: why the folder /var/run/clamav will be deleted automatically after reboot?
My fix: Edit /lib/systemd/system/clamd.service [Unit] Description = clamd scanner (clamd) daemon After = syslog.target nss-lookup.target network.target [Service] Type = simple ExecStartPre = /usr/bin/mkdir -p /var/run/clamav ExecStartPre = /usr/bin/chown -R clam.clam /var/run/clamav ExecStart = /usr...