diff --git a/script/docker/entrypoint.sh b/script/docker/entrypoint.sh index fcaf876..21e66ed 100644 --- a/script/docker/entrypoint.sh +++ b/script/docker/entrypoint.sh @@ -2,7 +2,7 @@ # if no config.ini exists, copy the default one if [ ! -f /app/config.ini ]; then - cp script/docker/config.template script/docker/config.ini + cp config.template config.ini sed -i '' -e '/^\[interface\]/,/^[^[]/ s/type = .*/type = tcp/' -e '/^\[interface\]/,/^[^[]/ s/hostname = .*/hostname = localhost:4403/' script/docker/config.ini fi