change to support debian 12

This commit is contained in:
Sam Heinz
2024-06-14 19:02:02 +10:00
parent fd3b832292
commit fd5465f673
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ $STD apt-get install -y wget
$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
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