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