This commit is contained in:
Alexandre
2024-04-25 14:49:00 +02:00
parent b4afd53794
commit ac32c823d2
5 changed files with 9 additions and 3 deletions

View File

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