mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-06 10:55:56 +01:00
fix(powerdns): use 'launch=' instead of 'launch+=' for gsqlite3 backend
PowerDNS 5.x requires a parent 'launch=' directive before any incremental 'launch+=' can be used. Since the install script comments out the default 'launch=' in pdns.conf, the 'launch+=' in gsqlite3.conf fails with: Fatal error: Incremental setting 'launch' without a parent Use 'launch=gsqlite3' (non-incremental) since gsqlite3 is the only backend needed.
This commit is contained in:
@@ -41,7 +41,7 @@ $STD apt install -y \
|
||||
sed -i 's/^launch=$/# launch=/' /etc/powerdns/pdns.conf
|
||||
rm -f /etc/powerdns/pdns.d/bind.conf
|
||||
cat <<EOF >/etc/powerdns/pdns.d/gsqlite3.conf
|
||||
launch+=gsqlite3
|
||||
launch=gsqlite3
|
||||
gsqlite3-database=/opt/poweradmin/powerdns.db
|
||||
EOF
|
||||
msg_ok "Setup PowerDNS"
|
||||
|
||||
Reference in New Issue
Block a user