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