mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-12-05 15:24:38 -05:00
Change to runtime.exs (#12)
This commit is contained in:
1 parent
69da778a62
commit
11b44e8106
1 file changed
+1
-1
@@ -5,7 +5,7 @@ ingress_entry=$(curl -X GET \
|
||||
-H "Content-Type: application/json" \
|
||||
-s http://supervisor/addons/self/info | \
|
||||
jq -r '.data.ingress_entry')
|
||||
sed -i "s^url: \[^url: \[path: \"${ingress_entry}\", ^" /opt/app/releases/*/releases.exs
|
||||
sed -i "s^url: \[^url: \[path: \"${ingress_entry}\", ^" /opt/app/releases/*/runtime.exs
|
||||
|
||||
cd /opt/app
|
||||
exec /ha-bootstrap.sh bin/teslamate start
|
||||
Reference in new issue
Block a user