0nikola1 patch octoprint proxy (#89)

* Update and rename config.json to config.yaml

* Update run.sh

* FIxed addon startup issue
This commit is contained in:
Nikola
2022-12-16 10:42:04 +01:00
committed by GitHub
parent 184880aaa4
commit 5fff8569b6
3 changed files with 33 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bashio
#!/usr/bin/with-contenv bashio
set -e
bashio::log.info "Setting octoprint host: $(bashio::config octoprint_host)"
@@ -27,4 +27,4 @@ fi
bashio::log.info "Server line: $(cat /haproxy.cfg | grep 'server octoprint')"
bashio::log.info "Starting haproxy"
haproxy -W -db -f /haproxy.cfg
haproxy -W -db -f /haproxy.cfg