summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2018-08-03 15:04:38 +0800
committerJeremy Kerr <jk@ozlabs.org>2018-08-09 13:46:14 +0800
commit1952735c88624262b9d756d29db1058d26849ffc (patch)
tree465cf083daca366dba7f31f66135c5ee3e8f5fc1 /README
parent09295f2e0b0b07468e0f45f51889cb066d1e537f (diff)
downloadjsnbd-1952735c88624262b9d756d29db1058d26849ffc.tar.gz
jsnbd-1952735c88624262b9d756d29db1058d26849ffc.zip
nbd-proxy: add configuration facility
Add a little configuration facility. We'll later add a method to integrate this with UI-side configuration, so it's implmented as json. We add a (temporarily required) argument to specify which configuration to use. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index 9401251..d5ab82e 100644
--- a/README
+++ b/README
@@ -25,7 +25,9 @@ websocket endpoint, plus serve the static HTML+js client:
git clone https://github.com/joewalnes/websocketd
(cd websocketd && make)
- sudo websocketd/websocketd --port=8000 --staticdir=web --binary ./nbd-proxy
+ sudo websocketd/websocketd --port=8000 --staticdir=web --binary ./nbd-proxy <config>
+
+- where <config> is a name of a configuration in the config.json file.
Note that this type of invocation is very insecure, and intended just for
experimentation. See the Security section below.
OpenPOWER on IntegriCloud