run.sh - don't launch icecast

as it hogs the audio device
This commit is contained in:
Nick Stokoe
2021-02-15 21:15:44 +00:00
parent 428bc8e255
commit 22925e9d4f

2
root/usr/local/bin/run.sh Executable file → Normal file
View File

@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
trap "kill $PID" HUP INT TERM trap "kill $PID" HUP INT TERM
su-exec mopidy 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 "${@}" & su-exec mopidy mopidy --config /data/.config/mopidy.conf "${@}" &
PID=$! PID=$!
wait $PID wait $PID