diff --git a/entrypoint.sh b/entrypoint.sh index fe94e9a..4a16d85 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,5 +15,5 @@ j2 ices.xml.jinja > ices.xml j2 icecast.xml.jinja > icecast.xml runuser -l zambla -c 'icecast2 -c /config/icecast.xml &' -runuser -l zambla -c '/opt/ultrasync.sh &' +/opt/ultrasync.sh & runuser -l zambla -c 'ices2 /config/ices.xml' diff --git a/ultrasync.sh b/ultrasync.sh index b4f2323..d82586a 100644 --- a/ultrasync.sh +++ b/ultrasync.sh @@ -1,7 +1,7 @@ #!/bin/bash while true; do - pip3 install -U youtube_dl --user - /opt/yt_sync.py + pip3 install -U youtube_dl + runuser -l zambla -c '/opt/yt_sync.py' sleep 10m done