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

@@ -43,12 +43,4 @@
<adminroot>/usr/share/icecast/admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<security>
<chroot>0</chroot>
<changeowner>
<user>mopidy</user>
<group>mopidy</group>
</changeowner>
</security>
</icecast>

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