Update build docker

This commit is contained in:
Alexey Khit
2022-08-24 14:29:39 +03:00
parent 9310343ad3
commit e36123bb19
2 changed files with 12 additions and 11 deletions
+5 -6
View File
@@ -2,14 +2,13 @@
set +e
# set cwd for go2rtc (for config file, Hass itegration, etc)
cd /config
while true; do
if [ -x go2rtc ]; then
./go2rtc
else
/app/go2rtc
fi
# add the feature to override go2rtc binary from Hass config folder
export PATH="/config:$PATH"
while true; do
go2rtc
sleep 5
done