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

@@ -78,6 +78,10 @@
"ports_description": {
"80/tcp": "web ui"
},
"privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"schema": {
"ALSA_CARD": "int?",
"COMMAND": "str",

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)"