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