summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorJan-Hendrik Zab <zab@l3s.de>2014-12-04 23:41:09 +0100
committerNiels de Vos <ndevos@redhat.com>2014-12-11 00:04:36 -0800
commite679d6417d39a696126e3f7ede1f2f38afc6e44c (patch)
treea358094cd6a54891715d678fbac2a1f6c4d6422b /extras
parent757394c1d764955f0068dfaf10692ae2d56a2b94 (diff)
Stop logrotate from complaining about missing files.
Previously logrotate reported errors for files missing in "/var/log/glusterfs/geo-replication-slaves/*/*.log". Fixed by reordering directives in the example config. Change-Id: I7cdb9e0d82f08aa27d5e26664660204fdeb8e98e BUG: 1170825 Signed-off-by: Jan-Hendrik Zab <zab@l3s.de> Reviewed-on: http://review.gluster.org/9264 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/glusterfs-georep-logrotate2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/glusterfs-georep-logrotate b/extras/glusterfs-georep-logrotate
index 381db8ba464..6fdb8c65aaf 100644
--- a/extras/glusterfs-georep-logrotate
+++ b/extras/glusterfs-georep-logrotate
@@ -30,12 +30,12 @@
/var/log/glusterfs/geo-replication-slaves/*/*.log {
sharedscripts
- postrotate
rotate 52
missingok
compress
delaycompress
notifempty
+ postrotate
for pid in `ps -aef | grep glusterfs | egrep "\-\-aux-gfid-mount" | awk '{print $2}'`; do
/usr/bin/kill -HUP $pid > /dev/null 2>&1 || true
done