codership/glb

Reopen log file on -HUP signal

ayurchen opened this issue · 0 comments

This is required to implement logrotate functionality via logrotate.d script, e.g.

/var/log/galera/*.log {
daily
rotate 5
compress
create 644 root root
dateext
postrotate
test -f /var/lock/subsys/garbd && /etc/init.d/garb reload || :
endscript
}

where "reload" command means -HUP