This commit is contained in:
Alexandre
2024-04-25 14:31:14 +02:00
parent cb6f05e6ed
commit b4afd53794
2 changed files with 5 additions and 1 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" "/bin/bash -c /usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' ' -f1)"