diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-09-14 16:03:11 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-09-14 16:03:11 -0400 |
| commit | d48f939b0ea5c2d4a32ed1d0fab11ade549c5a49 (patch) | |
| tree | d318e8dc197842b478e4b028248d527bd629ac81 /templates | |
| parent | c2ead0c3d4f6845b52767073eceb56446e2023d7 (diff) | |
| download | nsd-d48f939b0ea5c2d4a32ed1d0fab11ade549c5a49.tar.gz nsd-d48f939b0ea5c2d4a32ed1d0fab11ade549c5a49.tar.xz | |
Support Alpine Linux
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/nsd.conf | 4 | ||||
| -rw-r--r-- | templates/run.j2 | 4 |
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 + |
