nixos/bind: rndc-confgen should not chown file

This commit is contained in:
HackerNCoder
2024-10-18 22:23:28 +02:00
parent 4855723c87
commit 63cd2b8e03
+1 -1
View File
@@ -265,7 +265,7 @@ in
preStart = ''
if ! [ -f "/etc/bind/rndc.key" ]; then
${bindPkg.out}/sbin/rndc-confgen -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
${bindPkg.out}/sbin/rndc-confgen -c /etc/bind/rndc.key -a -A hmac-sha256 2>/dev/null
fi
'';