Skip to content

Commit d1e2e3e

Browse files
committed
🦸‍ Home Assistant Supervised in Docker
1 parent 0e41898 commit d1e2e3e

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

build/opt/init-wrapper/pre-init.d/11-systemd

Lines changed: 0 additions & 9 deletions
This file was deleted.

build/scripts/10-hassio-apt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,8 @@ esac
4545
wget --tries=3 -O /opt/os-agent.deb "https://github.com/home-assistant/os-agent/releases/download/1.6.0/os-agent_1.6.0_linux_$ARCH.deb"
4646
wget --tries=3 -O /opt/hassio.deb "https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb"
4747
wget --tries=3 -O /opt/hasscn.deb "https://github.com/hasscc/supervised-installer/releases/latest/download/homeassistant-supervised.deb"
48+
49+
50+
# fix for Synology
51+
sed -i -e "s/ProtectSystem=true/ProtectSystem=false/" /lib/systemd/system/NetworkManager.service
52+
systemctl mask systemd-logind.service systemd-hostnamed.service systemd-resolved.service e2scrub_reap.service

0 commit comments

Comments
 (0)