bind9-next/named-chroot-setup.service
Petr Menšík 990ae7c669 Import some data from bind branch bind9-dev
Imports commit  7e1db866748aef3c07657e0761b19aec6de9bf6f
2023-01-27 18:24:45 +01:00

13 lines
385 B
Desktop File

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