Ported Frigate & Go2RTC to ARM64

This commit is contained in:
Sam Heinz
2024-04-08 19:29:14 +10:00
parent 5f3eae2a7a
commit 9c0174ec33
5 changed files with 12 additions and 9 deletions
+4 -3
View File
@@ -17,13 +17,14 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
msg_ok "Installed Dependencies"
msg_info "Installing go2rtc"
mkdir -p /opt/go2rtc
cd /opt/go2rtc
wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64
chmod +x go2rtc_linux_amd64
wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_arm64
chmod +x go2rtc_linux_arm64
msg_ok "Installed go2rtc"
msg_info "Creating Service"
@@ -35,7 +36,7 @@ After=network.target
[Service]
Type=simple
User=root
ExecStart=/opt/go2rtc/go2rtc_linux_amd64
ExecStart=/opt/go2rtc/go2rtc_linux_arm64
[Install]
WantedBy=multi-user.target" >$service_path