# - I put everything in one block and added sharedscripts, so that mysql gets 
#   flush-logs'd only once.
#   Else the binary logs would automatically increase by n times every day.
# - The error log is obsolete, messages go to syslog now.
/var/log/mysync/mysync.log {
	daily
	rotate 7
	missingok
	compress
	sharedscripts
	postrotate
		systemctl kill -s SIGUSR2 mysync
	endscript
}
