Skip to content

Commit efd77f6

Browse files
committed
🦸‍ Home Assistant Supervised in Docker
1 parent 05ab783 commit efd77f6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build/scripts/10-hassio-apt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ udisks2 \
2121
wget
2222

2323

24-
# fix for Synology
25-
sed -i -e "s/ProtectSystem=true/ProtectSystem=false/" /lib/systemd/system/NetworkManager.service
26-
systemctl mask systemd-logind.service systemd-hostnamed.service e2scrub_reap.service
27-
28-
2924
DOWNLOAD_URL="https://download.docker.com"
3025
DOCKER_CHINA="https://mirrors.ustc.edu.cn/docker-ce"
3126

@@ -50,3 +45,7 @@ esac
5045
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"
5146
wget --tries=3 -O /opt/hassio.deb "https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb"
5247
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+
mkdir -p /run/systemd/unit-root/lib/modules

0 commit comments

Comments
 (0)