summaryrefslogtreecommitdiffstats
path: root/named-chroot-setup.service
blob: 9870a8895bc1b943061af4a59067ea18fd10d0ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[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
ExecStop=/usr/libexec/setup-named-chroot.sh /var/named/chroot off