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:
Tim Edwards 2019-05-16 08:00:16 +02:00
parent c1793ad158
commit 979bac7636
1 changed files with 5 additions and 0 deletions

View File

@ -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):
```