diff options
author | Jan-Hendrik Zab <zab@l3s.de> | 2014-12-04 23:41:09 +0100 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-12 22:05:36 -0800 |
commit | dd0342ded4c793210c390e97d40b338321ec5151 (patch) | |
tree | fbd5b4272950146b4bee6f90243414717e48c12a /extras | |
parent | 379d75c404d34dc89b54d4835162047f4a77c91f (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: 1165133
Signed-off-by: Jan-Hendrik Zab <zab@l3s.de>
Reviewed-on: http://review.gluster.org/9239
Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/glusterfs-georep-logrotate | 2 |
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 |