[Ovirt-devel] [PATCH node-image] Removed /etc/cron.daily/logrotate.

Darryl L. Pierce dpierce at redhat.com
Wed Mar 18 21:16:14 UTC 2009


Since the node now invokes /etc/logrotate.d/syslog every 10 minutes, we
no longer need this daily cronjob to run.

Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
 common-post.ks |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/common-post.ks b/common-post.ks
index 8ec0295..b4efb73 100644
--- a/common-post.ks
+++ b/common-post.ks
@@ -107,3 +107,7 @@ cat >> /root/.bashrc <<EOF
 # aliases used for the temporary
 alias ping='ping -c 3'
 EOF
+
+# Remove the default logrotate daily cron job
+# since we run it every 10 minutes instead.
+rm -f /etc/cron.daily/logrotate
-- 
1.6.0.6




More information about the ovirt-devel mailing list