Skip to content

Commit 1b95829

Browse files
authored
Merge pull request #156 from JyothishGeorge/master
Update for zigbee2mqtt service.yml
2 parents 4cf9a7f + 262bca3 commit 1b95829

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.templates/zigbee2mqtt/service.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
image: koenkk/zigbee2mqtt
44
volumes:
55
- ./volumes/zigbee2mqtt/data:/app/data
6+
- /run/udev:/run/udev:ro
67
devices:
78
- /dev/ttyAMA0:/dev/ttyACM0
89
#- /dev/ttyACM0:/dev/ttyACM0
9-
restart: unless-stopped
10+
restart: always
1011
network_mode: host
12+
privileged: true
13+
environment:
14+
- TZ=Europe/Amsterdam

menu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ case $mainmenu_selection in
406406
"tinker" " " \
407407
3>&1 1>&2 2>&3)
408408
if [ -n "$hassio_machine" ]; then
409-
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | sudo bash -s -- -m $hassio_machine
409+
curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh | sudo bash -s -- -m $hassio_machine
410410
else
411411
echo "no selection"
412412
exit

0 commit comments

Comments
 (0)