#!/usr/bin/with-contenv bashio
echo "Starting service: avahi daemon"
until [[ -e /var/run/dbus/system_bus_socket ]]; do
    sleep 1s
done

exec \
    avahi-daemon --no-chroot