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