Blame SOURCES/named-chroot-setup.service

b7523e
[Unit]
b7523e
Description=Set-up/destroy chroot environment for named (DNS)
b7523e
BindsTo=named-chroot.service
b7523e
Wants=named-setup-rndc.service
b7523e
After=named-setup-rndc.service
b7523e
b7523e
b7523e
[Service]
b7523e
Type=oneshot
b7523e
RemainAfterExit=yes
b7523e
ExecStart=/usr/libexec/setup-named-chroot.sh /var/named/chroot on /etc/named-chroot.files
b7523e
ExecStop=/usr/libexec/setup-named-chroot.sh /var/named/chroot off /etc/named-chroot.files