diff --git a/root/defaults/icecast.xml b/root/defaults/icecast.xml index 2e50946..9aa9d9e 100644 --- a/root/defaults/icecast.xml +++ b/root/defaults/icecast.xml @@ -43,12 +43,4 @@ /usr/share/icecast/admin - - - 0 - - mopidy - mopidy - - diff --git a/root/usr/local/bin/run.sh b/root/usr/local/bin/run.sh index b4192d8..99adaa9 100755 --- a/root/usr/local/bin/run.sh +++ b/root/usr/local/bin/run.sh @@ -1,7 +1,7 @@ #!/bin/sh trap "kill $PID" HUP INT TERM -icecast -c /data/.config/icecast.xml -b & +su-exec mopidy icecast -c /data/.config/icecast.xml -b & su-exec mopidy mopidy --config /data/.config/mopidy.conf "${@}" & PID=$! wait $PID