summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-09-14 16:03:11 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-09-14 16:03:11 -0400
commitd48f939b0ea5c2d4a32ed1d0fab11ade549c5a49 (patch)
treed318e8dc197842b478e4b028248d527bd629ac81 /templates
parentc2ead0c3d4f6845b52767073eceb56446e2023d7 (diff)
downloadnsd-d48f939b0ea5c2d4a32ed1d0fab11ade549c5a49.tar.gz
nsd-d48f939b0ea5c2d4a32ed1d0fab11ade549c5a49.tar.xz
Support Alpine Linux
Diffstat (limited to 'templates')
-rw-r--r--templates/nsd.conf4
-rw-r--r--templates/run.j24
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/nsd.conf b/templates/nsd.conf
index 9c24027..246e308 100644
--- a/templates/nsd.conf
+++ b/templates/nsd.conf
@@ -22,9 +22,5 @@ key:
zone:
name: {{zone}}
zonefile: /etc/nsd/%s.zone
-{% for slave in nsd_slaves %}
- notify: {{slave.ip}} {{slave.key}}
- provide-xfr: {{slave.ip}} {{slave.key}}
-{% endfor %}
{% endfor %}
diff --git a/templates/run.j2 b/templates/run.j2
new file mode 100644
index 0000000..7173f62
--- /dev/null
+++ b/templates/run.j2
@@ -0,0 +1,4 @@
+#!/bin/sh
+# install -d -m 0755 -o nsd -g nsd /run/nsd
+exec nsd -d 2>/dev/null
+