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
fd4b48
ExecStart=/usr/libexec/setup-named-chroot.sh /var/named/chroot on
fd4b48
ExecStop=/usr/libexec/setup-named-chroot.sh /var/named/chroot off