Removed unused install hook, removed redundant code from configure hook

This commit is contained in:
Tim Edwards 2019-05-16 07:59:33 +02:00
parent 8664effda7
commit c1793ad158
3 changed files with 0 additions and 10 deletions

View File

@ -1,6 +1,3 @@
#!/bin/sh -e #!/bin/sh -e
listen_port="$(snapctl get novncsvc.listen-port)"
vnc_host_port="$(snapctl get novncsvc.vnc-host-port)"
snapctl restart novnc.novncsvc snapctl restart novnc.novncsvc

View File

@ -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=''

View File

@ -21,8 +21,6 @@ parts:
- python3-numpy - python3-numpy
hooks: hooks:
install:
plugs: [network, network-bind]
configure: configure:
plugs: [network, network-bind] plugs: [network, network-bind]