This commit is contained in:
Brandon
2019-08-18 10:32:38 -05:00
parent 2b26f85fb1
commit 38f347eed0
3 changed files with 2 additions and 3 deletions

10
root/usr/local/bin/run.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
function stop() {
kill $PID
}
trap stop HUP INT TERM
su-exec mopidy mopidy --config "/data/.config/mopidy.conf" "${@}" &
PID=$!
wait $PID