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