mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 21:19:16 -04:00
Update run
This commit is contained in:
@@ -8,8 +8,5 @@ ingress_entry=$(curl -X GET \
|
|||||||
|
|
||||||
sed -i "s^url: \[^url: \[path: \"${ingress_entry}\", ^" /opt/app/releases/*/runtime.exs
|
sed -i "s^url: \[^url: \[path: \"${ingress_entry}\", ^" /opt/app/releases/*/runtime.exs
|
||||||
|
|
||||||
# Issue #58 hack to fix app.js
|
|
||||||
sed -i "s^/live^${ingress_entry}/live^g" /opt/app/lib/teslamate-*/priv/static/assets/app*.js
|
|
||||||
|
|
||||||
cd /opt/app
|
cd /opt/app
|
||||||
exec /ha-bootstrap.sh bin/teslamate start
|
exec /ha-bootstrap.sh bin/teslamate start
|
||||||
|
|||||||
Reference in New Issue
Block a user