add Man page and rename launch.sh to novnc_proxy.
Co-Authored-By: Adam Young <ayoung@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user