charm-mysql-router/src/templates/logrotate

10 lines
155 B
Plaintext

/var/lib/mysql/*/log/*.log {
rotate 9
notifempty
size 10M
create 0640 {{ owner }} {{ group }}
postrotate
kill -HUP $(pidof mysqlrouter)
endscript
}