57726f
[Unit]
57726f
Description=Set-up/destroy chroot environment for named-sdb
57726f
BindsTo=named-sdb-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_sdb on /etc/named-chroot.files
57726f
ExecStop=/usr/libexec/setup-named-chroot.sh /var/named/chroot_sdb off /etc/named-chroot.files