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