add Man page and rename launch.sh to novnc_proxy.

Co-Authored-By: Adam Young <ayoung@redhat.com>
This commit is contained in:
Jan Zerebecki
2021-06-25 13:38:15 +02:00
parent dd20b17d49
commit 89e206c146
6 changed files with 45 additions and 8 deletions

View File

@@ -24,6 +24,6 @@ snapctl get services | jq -c '.[]' | while read service; do # for each service t
echo "novnc: not starting service ${service} with listen_port ${listen_port} and vnc_host_port ${vnc_host_port}"
else
# start (and fork with '&') the service using the specified listen port and VNC host:port
$SNAP/launch.sh --listen $listen_port --vnc $vnc_host_port &
$SNAP/novnc_proxy --listen $listen_port --vnc $vnc_host_port &
fi
done

View File

@@ -16,13 +16,13 @@ parts:
source: .
plugin: dump
organize:
utils/launch.sh: /
utils/novnc_proxy: /
stage:
- vnc.html
- app
- core/**/*.js
- vendor/**/*.js
- launch.sh
- novnc_proxy
stage-packages:
- bash
@@ -47,7 +47,7 @@ hooks:
apps:
novnc:
command: ./launch.sh
command: ./novnc_proxy
plugs: [network, network-bind]
novncsvc:
command: ./svc_wrapper.sh