Files
hassio-addons/zzz_draft_birdnet-pi2/archive/01_avahi-alias
Alexandre e891245aaf update
2024-04-26 18:11:19 +02:00

5 lines
164 B
Plaintext

#!/usr/bin/with-contenv bashio
echo "Starting service: avahi alias"
exec \
s6-setuidgid "$USER" /usr/bin/avahi-publish -a -R %I "$(hostname -I |cut -d' ' -f1)"