[atop/el5] Silence cron.

Jon Ciesla limb at fedoraproject.org
Mon May 14 14:12:50 UTC 2012


commit 53001134dd37dbf24fcaa9b2b9a8a6591e4824f3
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Mon May 14 09:12:39 2012 -0500

    Silence cron.

 atop-1.26-cron.patch |    2 +-
 atop.spec            |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/atop-1.26-cron.patch b/atop-1.26-cron.patch
index 9174fd9..d3a101a 100644
--- a/atop-1.26-cron.patch
+++ b/atop-1.26-cron.patch
@@ -3,4 +3,4 @@
 @@ -1,2 +1,2 @@
  # start atop daily at midnight
 -0 0 * * * root /etc/atop/atop.daily
-+0 0 * * * root /etc/rc.d/init.d/atop condrestart
++0 0 * * * root /etc/rc.d/init.d/atop condrestart > /dev/null 2>&1 || :
diff --git a/atop.spec b/atop.spec
index 2ab13ab..8c4b8f4 100644
--- a/atop.spec
+++ b/atop.spec
@@ -1,6 +1,6 @@
 Name:           atop
 Version:        1.26
-Release:        2%{?dist}.1
+Release:        3%{?dist}
 Summary:        An advanced interactive monitor to view the load on system and process level
 
 Group:          Applications/System
@@ -126,6 +126,9 @@ fi
 #%{_unitdir}/atop.service
 
 %changelog
+* Mon May 14 2012 Jon Ciesla <limburgher at gmail.com> - 1.26-3
+- Silence cron.
+
 * Wed May 09 2012 Jon Ciesla <limburgher at gmail.com> - 1.26-2.1
 - Re-add atop.log logrotate section.
 - Modify cron setup per BZ 445174 comment #6.


More information about the scm-commits mailing list