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