From 979bac76367a6cb59b23f6232657addfb8a33bba Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Thu, 16 May 2019 08:00:16 +0200 Subject: [PATCH] Updated README to mention that the name of the service can be anything, and that running 'snap set...' will automatically restart services --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index df56fdf8..11289d94 100644 --- a/README.md +++ b/README.md @@ -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): ```