fd4b48
[Unit]
fd4b48
Description=Set-up/destroy chroot environment for named-sdb
fd4b48
BindsTo=named-sdb-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_sdb on /etc/named-chroot.files
3ce7d3
ExecStop=/usr/libexec/setup-named-chroot.sh /var/named/chroot_sdb off /etc/named-chroot.files