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