Update docker cwd to /config
This commit is contained in:
+5
-3
@@ -2,11 +2,13 @@
|
|||||||
|
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
|
cd /config
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
if [ -x /config/go2rtc ]; then
|
if [ -x go2rtc ]; then
|
||||||
/config/go2rtc -config /config/go2rtc.yaml
|
./go2rtc
|
||||||
else
|
else
|
||||||
/app/go2rtc -config /config/go2rtc.yaml
|
/app/go2rtc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|||||||
Reference in New Issue
Block a user