Update build docker
This commit is contained in:
+5
-6
@@ -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
|
||||
Reference in New Issue
Block a user