mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 03:40:03 +00:00
fix(powerdns): use 'launch=' instead of 'launch+=' for gsqlite3 backend (#12579)
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:
parent
0be065bbef
commit
24957ea881
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ $STD apt install -y \
|
||||||
sed -i 's/^launch=$/# launch=/' /etc/powerdns/pdns.conf
|
sed -i 's/^launch=$/# launch=/' /etc/powerdns/pdns.conf
|
||||||
rm -f /etc/powerdns/pdns.d/bind.conf
|
rm -f /etc/powerdns/pdns.d/bind.conf
|
||||||
cat <<EOF >/etc/powerdns/pdns.d/gsqlite3.conf
|
cat <<EOF >/etc/powerdns/pdns.d/gsqlite3.conf
|
||||||
launch+=gsqlite3
|
launch=gsqlite3
|
||||||
gsqlite3-database=/opt/poweradmin/powerdns.db
|
gsqlite3-database=/opt/poweradmin/powerdns.db
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Setup PowerDNS"
|
msg_ok "Setup PowerDNS"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue