Removed unused install hook, removed redundant code from configure hook
This commit is contained in:
parent
8664effda7
commit
c1793ad158
|
|
@ -1,6 +1,3 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
listen_port="$(snapctl get novncsvc.listen-port)"
|
||||
vnc_host_port="$(snapctl get novncsvc.vnc-host-port)"
|
||||
|
||||
snapctl restart novnc.novncsvc
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Initialise settings to blank default values so that novncsvc won't start unless the user sets these values to something meaningful
|
||||
snapctl set novncsvc.listen-port=0
|
||||
snapctl set novncsvc.vnc-host-port=''
|
||||
|
|
@ -21,8 +21,6 @@ parts:
|
|||
- python3-numpy
|
||||
|
||||
hooks:
|
||||
install:
|
||||
plugs: [network, network-bind]
|
||||
configure:
|
||||
plugs: [network, network-bind]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue