Commit 44921e6a authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

damn sqlite

parent 7f5491a3
Pipeline #17712 passed with stage
in 16 seconds
......@@ -9,9 +9,13 @@ set -e
# Run pdns server
trap "pdns_control quit" SIGHUP SIGINT SIGTERM
cat /init.sql | sqlite3 /pdns.sqlite
chown pdns /pdns.sqlite
chmod 0666 /pdns.sqlite
mkdir /db
chown pdns /db
chmod 755 /db
cat /init.sql | sqlite3 /db/pdns.sqlite
chown pdns /db/pdns.sqlite
chmod 0666 /db/pdns.sqlite
pdns_server "$@" &
wait
......@@ -5,7 +5,7 @@ webserver=yes
api=yes
api-key=b60dc02889d7eb66a81f2f513ba7449d
launch=gsqlite3
gsqlite3-database=/pdns.sqlite
gsqlite3-database=/db/pdns.sqlite
gsqlite3-pragma-synchronous=0
gsqlite3-pragma-foreign-keys=1
gsqlite3-dnssec=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment