master
Use /etc/logrotate.d/pihole for logrotate file instead of /etc/pihole/logrotate
avoid copytruncate in logrotate
add missing local variable