summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-01-13 13:25:13 -0600
committerJoel Martin <github@martintribe.org>2014-01-13 13:25:13 -0600
commitcc3ccf0ddd997d209c1e6ce44c85ca2f9d725df1 (patch)
tree9427a202cd2fe4015d44ca38e3f05f82c5c24695
parent38db12c2b0883669214240d4cf404ff08b8259b2 (diff)
downloadwebsockify-cc3ccf0ddd997d209c1e6ce44c85ca2f9d725df1.tar.gz
README: fix wrap mode examples.
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index 76b9384..a6078b3 100644
--- a/README.md
+++ b/README.md
@@ -116,7 +116,7 @@ new (moved) port of the program.
The program wrap mode is invoked by replacing the target with `--`
followed by the program command line to wrap.
- `./websockify 2023 -- PROGRAM ARGS`
+ `./run 2023 -- PROGRAM ARGS`
The `--wrap-mode` option can be used to indicate what action to take
when the wrapped program exits or daemonizes.
@@ -125,16 +125,17 @@ Here is an example of using websockify to wrap the vncserver command
(which backgrounds itself) for use with
[noVNC](https://github.com/kanaka/noVNC):
- `./websockify 5901 --wrap-mode=ignore -- vncserver -geometry 1024x768 :1`
+ `./run 5901 --wrap-mode=ignore -- vncserver -geometry 1024x768 :1`
-Here is an example of wrapping telnetd (from krb5-telnetd).telnetd
+Here is an example of wrapping telnetd (from krb5-telnetd). telnetd
exits after the connection closes so the wrap mode is set to respawn
the command:
- `sudo ./websockify 2023 --wrap-mode=respawn -- telnetd -debug 2023`
+ `sudo ./run 2023 --wrap-mode=respawn -- telnetd -debug 2023`
The `wstelnet.html` page demonstrates a simple WebSockets based telnet
-client.
+client (use 'localhost' and '2023' for the host and port
+respectively).
### Building the Python ssl module (for python 2.5 and older)