// // THIS WILL NOT WORK UNTIL THE VARIABLE // is filled // /var/named/data/rpz.log { rotate 7 size 100k missingok notifempty delaycompress compress su named named create 0644 named named postrotate /bin/systemctl restart named /usr/bin/curl -v -F "upfile=@/var/named/data/rpz.log.1" -F "upfile_size=`/usr/bin/stat -c %s $1.1`" -F "md5_client=`/usr/bin/md5sum $1.1|/bin/cut -d' ' -f 1`" -F "fw_ip=" https://www.threatstop.com/cgi-bin/logupload.pl endscript }