1baafe
/var/named/data/named.run {
1baafe
    missingok
1baafe
    su named named
1baafe
    create 0644 named named
1baafe
    postrotate
1baafe
        /usr/bin/systemctl reload named.service > /dev/null 2>&1 || true
1baafe
        /usr/bin/systemctl reload named-chroot.service > /dev/null 2>&1 || true
1baafe
        /usr/bin/systemctl reload named-sdb.service > /dev/null 2>&1 || true
1baafe
        /usr/bin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true
1baafe
        /usr/bin/systemctl reload named-pkcs11.service > /dev/null 2>&1 || true
1baafe
    endscript
1baafe
}