From a663a5ed4a7a07e13831463d4124ba6d3ea2bd62 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Fri, 14 Jun 2024 19:02:02 +1000 Subject: [PATCH] change to support debian 12 (cherry picked from commit fd5465f6737b466f10ddf435d1548e205043b09c) --- ct/jdownloader2.sh | 2 +- install/jdownloader2-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/jdownloader2.sh b/ct/jdownloader2.sh index e5db939a..7d7e03e4 100644 --- a/ct/jdownloader2.sh +++ b/ct/jdownloader2.sh @@ -22,7 +22,7 @@ var_disk="10" var_cpu="1" var_ram="1028" var_os="debian" -var_version="11" +var_version="12" variables color catch_errors diff --git a/install/jdownloader2-install.sh b/install/jdownloader2-install.sh index ad9b6a20..a4cc0173 100644 --- a/install/jdownloader2-install.sh +++ b/install/jdownloader2-install.sh @@ -21,7 +21,7 @@ $STD apt-get install -y mc $STD apt-get install -y novnc $STD apt-get install -y xvfb $STD apt-get install -y tigervnc-scraping-server -$STD apt-get install -y openjdk-11-jdk +$STD apt-get install -y openjdk-17-jdk $STD apt-get install -y openbox $STD apt-get install -y net-tools msg_ok "Installed Dependencies" @@ -72,7 +72,7 @@ After=x0vncserver.service network.target [Service] Type=simple WorkingDirectory=/usr/share/novnc -ExecStart=/usr/share/novnc/utils/launch.sh --vnc localhost:5901 +ExecStart=/usr/bin/websockify 6080 --web /usr/share/novnc --wrap-mode=ignore :5901 Restart=always RestartSec=5