summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-04-15 18:21:08 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-04-15 18:21:08 -0400
commit98e7ccdd019dd6b2fe6eb7325a681cb132a36741 (patch)
tree046a7492c66e7b22283545c1166b7fbd01233fe7 /config
parent2eabc9130522acc1e1de034ec062338572076a02 (diff)
downloadthird_party-cobbler-98e7ccdd019dd6b2fe6eb7325a681cb132a36741.tar.gz
third_party-cobbler-98e7ccdd019dd6b2fe6eb7325a681cb132a36741.tar.xz
third_party-cobbler-98e7ccdd019dd6b2fe6eb7325a681cb132a36741.zip
logrotate should not send emails to root when restarting services.
Diffstat (limited to 'config')
-rw-r--r--config/cobblerd_rotate4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cobblerd_rotate b/config/cobblerd_rotate
index c7a8b19..e739c47 100644
--- a/config/cobblerd_rotate
+++ b/config/cobblerd_rotate
@@ -5,7 +5,7 @@
weekly
postrotate
if [ -f /var/lock/subsys/cobblerd ]; then
- /etc/init.d/cobblerd condrestart
+ /etc/init.d/cobblerd condrestart > /dev/null
fi
endscript
}
@@ -17,7 +17,7 @@
weekly
postrotate
if [ -f /var/lock/subsys/cobblerd ]; then
- /etc/init.d/cobblerd condrestart
+ /etc/init.d/cobblerd condrestart > /dev/null
fi
endscript
}