dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modifications : etc/gitolite
[lhc/ateliers.git]
/
etc
/
sv
/
nsd3
/
local.sh
diff --git
a/etc/sv/nsd3/local.sh
b/etc/sv/nsd3/local.sh
index
14f7633
..
373a833
100644
(file)
--- a/
etc/sv/nsd3/local.sh
+++ b/
etc/sv/nsd3/local.sh
@@
-12,6
+12,7
@@
sudo install -d -m 750 -o root -g nsd \
cat "$tool"/etc/nsd3/nsd.conf
for zone in $(find "$tool"/etc/nsd3/zone.d \
-mindepth 1 -maxdepth 1 -type f \
cat "$tool"/etc/nsd3/nsd.conf
for zone in $(find "$tool"/etc/nsd3/zone.d \
-mindepth 1 -maxdepth 1 -type f \
+ -name "*.conf" \
-printf '%f\n')
do zone=${zone%.conf}
if test -e "$tool"/etc/nsd3/zone.d/"$zone".zone.m4
-printf '%f\n')
do zone=${zone%.conf}
if test -e "$tool"/etc/nsd3/zone.d/"$zone".zone.m4
@@
-36,6
+37,4
@@
sudo install -m 640 -o root -g nsd /dev/stdin \
/etc/nsd3/nsd.conf
"$tool"/local/runit-sv-start "$sv"
/etc/nsd3/nsd.conf
"$tool"/local/runit-sv-start "$sv"
-sudo nsdc rebuild
-sudo nsdc reload
-#sudo nsdc notify
+sudo nsd-control reload