diff --git a/clamav-unofficial-sigs.cron b/clamav-unofficial-sigs.cron index 60b86d2..9c06446 100644 --- a/clamav-unofficial-sigs.cron +++ b/clamav-unofficial-sigs.cron @@ -26,7 +26,7 @@ # 60 - 600 seconds. To Adjust the cron values, edit your configs and run # bash clamav-unofficial-sigs.sh --install-cron to generate a new file. MAILTO=root -14 * * * * root [ -x /usr/sbin/clamav-unofficial-sigs.sh ] && /usr/bin/bash /usr/sbin/clamav-unofficial-sigs.sh +14 * * * * root [ -x /usr/sbin/clamav-unofficial-sigs.sh ] && sleep $[ 0x`hostid` % 55 ]m && /usr/sbin/clamav-unofficial-sigs.sh # https://eXtremeSHOK.com ###################################################### diff --git a/clamav-unofficial-sigs.spec b/clamav-unofficial-sigs.spec index 3f6b325..b26285b 100644 --- a/clamav-unofficial-sigs.spec +++ b/clamav-unofficial-sigs.spec @@ -9,7 +9,7 @@ %endif Name: clamav-unofficial-sigs Version: 7.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Scripts to download unofficial clamav signatures Group: Applications/System License: BSD @@ -104,11 +104,15 @@ rm -rf %{buildroot} %{_unitdir}/%{name}.service %{_unitdir}/%{name}.timer %endif -%{_sysconfdir}/cron.d/%{name} +%config(noreplace) %{_sysconfdir}/cron.d/%{name} %{_sysconfdir}/logrotate.d/%{name} %{_mandir}/man*/%{name}* %changelog +* Thu Feb 13 2020 Ján ONDREJ (SAL) - 7.0.1-3 +- Make cron script as config(noreplace) (bz#1786860) +- Implement random delay before running update script from cron + * Tue Jan 28 2020 Fedora Release Engineering - 7.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild