21 lines
435 B
Text
21 lines
435 B
Text
/var/log/glusterfs/*.log {
|
|
sharedscripts
|
|
postrotate
|
|
killall -HUP glusterfs >/dev/null 2>&1 || true
|
|
killall -HUP glusterd >/dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/glusterfs/bricks/*.log {
|
|
sharedscripts
|
|
postrotate
|
|
killall -HUP glusterfsd >/dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/glusterfs/snaps/*/*.log {
|
|
sharedscripts
|
|
postrotate
|
|
killall -HUP $(pgrep -f "glusterfs.*snapd") >/dev/null 2>&1 || true
|
|
endscript
|
|
}
|