bind: Remove deprecated flag from rndc-confgen

Fixes bind.service startup issue after NixOS/nixpkgs#61619
This commit is contained in:
Lucas Savva 2019-06-10 23:52:50 +01:00 committed by Vladimír Čunát
parent f7bbb18f83
commit 24e974b904
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -184,7 +184,7 @@ in
preStart = ''
mkdir -m 0755 -p /etc/bind
if ! [ -f "/etc/bind/rndc.key" ]; then
${pkgs.bind.out}/sbin/rndc-confgen -r /dev/urandom -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
${pkgs.bind.out}/sbin/rndc-confgen -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
fi
${pkgs.coreutils}/bin/mkdir -p /run/named