mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-11 18:22:15 +02:00
[arm64] Port scripts between garage-hortusfox to support arm64 (#15207)
* add helper function for get_arch_value * [arm64] Port scripts between garage-hortusfox to support arm64 Adds check for docker tag & arm64 in build.func and if present adds apparmor unconfined to get docker to work on non pve kernel * revert added tags, remove apparmor unconfined, move to setup_docker
This commit is contained in:
@@ -18,7 +18,7 @@ msg_info "Installing Dependencies"
|
||||
$STD apt install -y ffmpeg
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "go2rtc" "AlexxIT/go2rtc" "singlefile" "latest" "/opt/go2rtc" "go2rtc_linux_amd64"
|
||||
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "go2rtc" "AlexxIT/go2rtc" "singlefile" "latest" "/opt/go2rtc" "go2rtc_linux_$(arch_resolve)"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/go2rtc.service
|
||||
@@ -30,7 +30,7 @@ After=network.target
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/go2rtc
|
||||
ExecStart=/opt/go2rtc/go2rtc_linux_amd64
|
||||
ExecStart=/opt/go2rtc/go2rtc_linux_$(arch_resolve)
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user