mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
update
This commit is contained in:
@@ -78,6 +78,10 @@
|
|||||||
"ports_description": {
|
"ports_description": {
|
||||||
"80/tcp": "web ui"
|
"80/tcp": "web ui"
|
||||||
},
|
},
|
||||||
|
"privileged": [
|
||||||
|
"SYS_ADMIN",
|
||||||
|
"DAC_READ_SEARCH"
|
||||||
|
],
|
||||||
"schema": {
|
"schema": {
|
||||||
"ALSA_CARD": "int?",
|
"ALSA_CARD": "int?",
|
||||||
"COMMAND": "str",
|
"COMMAND": "str",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
echo "Starting service: avahi alias"
|
echo "Starting service: avahi alias"
|
||||||
exec \
|
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)"
|
||||||
Reference in New Issue
Block a user