
The SIGUSR1 isn't sent if the PID file is not found as that means MaxScale is not running.
12 lines
200 B
Plaintext
12 lines
200 B
Plaintext
/var/log/maxscale/maxscale.log {
|
|
monthly
|
|
rotate 5
|
|
missingok
|
|
nocompress
|
|
sharedscripts
|
|
postrotate
|
|
test -r /var/run/maxscale/maxscale.pid && kill -USR1 $(cat /var/run/maxscale/maxscale.pid)
|
|
endscript
|
|
}
|
|
|