/var/log/mariadb/mariadb-query.log { create 600 mysql mysql su mysql mysql notifempty daily rotate 3 missingok compress sharedscripts postrotate # just if mariadbd is really running if [ -e /run/mariadb/mariadb.pid ] then kill -1 $(