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