run.sh - don't launch icecast
as it hogs the audio device
This commit is contained in:
2
root/usr/local/bin/run.sh
Executable file → Normal file
2
root/usr/local/bin/run.sh
Executable file → Normal file
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
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 "${@}" &
|
||||
PID=$!
|
||||
wait $PID
|
||||
|
||||
Reference in New Issue
Block a user