Files
shairport-sync/docker/run.sh
T
2024-12-16 15:27:53 +01:00

9 lines
285 B
Bash
Executable File

#!/bin/sh
while [ ! -f /var/run/avahi-daemon/pid ]; do
echo "Warning: avahi is not running, sleeping for 1 second before trying to start shairport-sync"
sleep 1
done
echo "Starting shairport-sync"
# pass all commandline options to shairport-sync
/usr/local/bin/shairport-sync "$@"