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