Make the various used ports configurable

This commit is contained in:
Josh.5
2022-02-19 18:07:10 +13:00
parent 75c2df3115
commit 576bf9471c
6 changed files with 32 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ autostart=true
autorestart=true
priority=30
user=%(ENV_USER)s
command=/usr/bin/x11vnc -display %(ENV_DISPLAY)s -rfbport 5900 -shared -forever
command=/usr/bin/x11vnc -display %(ENV_DISPLAY)s -rfbport %(ENV_PORT_VNC)s -shared -forever
stopsignal=QUIT
stdout_logfile=/home/%(ENV_USER)s/.cache/log/x11vnc.log
stdout_logfile_maxbytes=10MB
@@ -18,7 +18,7 @@ autostart=true
autorestart=true
priority=30
user=%(ENV_USER)s
command=/opt/noVNC/utils/launch.sh --vnc localhost:5900 --listen 8083
command=/opt/noVNC/utils/launch.sh --vnc localhost:%(ENV_PORT_VNC)s --listen %(ENV_PORT_NOVNC_WEB)s
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
stopsignal=QUIT
stdout_logfile=/home/%(ENV_USER)s/.cache/log/novnc.log