glusterfs

Форк
0
/
glusterfs-georep-logrotate 
61 строка · 1.2 Кб
1
/var/log/glusterfs/geo-replication/*/*.log {
2
    sharedscripts
3
    weekly
4
    maxsize 10M
5
    minsize 100k
6

7
    # 6 months of logs are good enough
8
    rotate 26
9

10
    missingok
11
    compress
12
    delaycompress
13
    notifempty
14
    postrotate
15
    for pid in `ps -aef | grep glusterfs | egrep "\-\-aux-gfid-mount" | awk '{print $2}'`; do
16
        /usr/bin/kill -HUP $pid > /dev/null 2>&1 || true
17
    done
18
     endscript
19
}
20

21

22
/var/log/glusterfs/geo-replication-secondaries/*.log {
23
    sharedscripts
24
    weekly
25
    maxsize 10M
26
    minsize 100k
27

28
    # 6 months of logs are good enough
29
    rotate 26
30

31
    missingok
32
    compress
33
    delaycompress
34
    notifempty
35
    postrotate
36
    for pid in `ps -aef | grep glusterfs | egrep "\-\-aux-gfid-mount" | awk '{print $2}'`; do
37
        /usr/bin/kill -HUP $pid > /dev/null 2>&1 || true
38
    done
39
    endscript
40
}
41

42

43
/var/log/glusterfs/geo-replication-secondaries/*/*.log {
44
    sharedscripts
45
    weekly
46
    maxsize 10M
47
    minsize 100k
48

49
    # 6 months of logs are good enough
50
    rotate 26
51

52
    missingok
53
    compress
54
    delaycompress
55
    notifempty
56
    postrotate
57
    for pid in `ps -aef | grep glusterfs | egrep "\-\-aux-gfid-mount" | awk '{print $2}'`; do
58
        /usr/bin/kill -HUP $pid > /dev/null 2>&1 || true
59
    done
60
    endscript
61
}
62

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.