Skip to content

Commit

Permalink
dev test
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkgo committed May 18, 2024
1 parent 5b189cb commit 0510ef3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-test-amd64-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ jobs:
with:
push: true
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
tags: sliamb/paopaodns:dev
tags: sliamb/paopaodns:dev
secrets: |
"DEVLOG=yes"
3 changes: 3 additions & 0 deletions src/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ if ! ps -ef | grep -v grep | grep -q redis-server; then
fi
sleep 3
sed "s/{CORES}/$CORES/g" /data/unbound.conf | sed "s/{POWCORES}/$POWCORES/g" | sed "s/{FDLIM}/$FDLIM/g" | sed "s/{MEM1}/$MEM1/g" | sed "s/{MEM2}/$MEM2/g" | sed "s/{MEM3}/$MEM3/g" | sed "s/{ETHIP}/$ETHIP/g" | sed "s/{DNS_SERVERNAME}/$DNS_SERVERNAME/g" >/tmp/unbound.conf
if [ "$DEVLOG" = "yes" ]; then
sed -i "s/verbosity: 0/verbosity: 5/g" /tmp/unbound.conf
fi
if [ "$safemem" = "no" ]; then
sed -i "s/#safemem//g" /tmp/unbound.conf
else
Expand Down

0 comments on commit 0510ef3

Please sign in to comment.