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