Files
docker-mopidy-iris/run.sh
Brandon b30b5ca3cd Bump
2019-08-18 05:40:08 -05:00

11 lines
150 B
Bash
Executable File

#!/bin/sh
function stop() {
kill $PID
}
trap stop HUP INT TERM
su-exec mopidy mopidy --config "${MOPIDY_CONFIG_FILE}" "${@}" &
PID=$!
wait $PID