Updated README to mention that the name of the service can be anything, and that running 'snap set...' will automatically restart services
This commit is contained in:
parent
c1793ad158
commit
979bac7636
|
|
@ -142,6 +142,9 @@ Create a new service that listens on port 6082 and connects to the VNC server ru
|
|||
|
||||
`sudo snap set novnc services.n6082.listen=6082 services.n6082.vnc=localhost:5902`
|
||||
|
||||
(Any services you define with 'snap set' will be automatically started)
|
||||
Note that the name of the service, 'n6082' in this example, can be anything as long as it doesn't start with a number or contain spaces/special characters.
|
||||
|
||||
View the configuration of the service just created:
|
||||
|
||||
```
|
||||
|
|
@ -155,6 +158,8 @@ Disable a service (note that because of a limitation in Snap it's currently not
|
|||
|
||||
`sudo snap set novnc services.n6082.listen='' services.n6082.vnc=''`
|
||||
|
||||
(Any services you set to blank with 'snap set' like this will be automatically stopped)
|
||||
|
||||
Verify that the service is disabled (blank values):
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue