This commit is contained in:
Brandon
2019-08-23 20:51:43 -05:00
parent c0a7dd38da
commit 1a62fb4204
2 changed files with 1 additions and 9 deletions

View File

@@ -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