sudo cp websocketd /usr/local/bin/
---------------------------------------------------------------------------
+
-2. Run websocketd as 'opensrf'
+2. Run websocketd
++
+Choose option a or b, below.
++
+a. Run websocketd as 'opensrf'
++
+[NOTE]
+===========================================================================
+This choice requires one of the proxy configurations mentioned below.
+===========================================================================
+
.(Debian, Ubuntu)
[source,bash]
# See https://github.com/joewalnes/websocketd/blob/master/help.go
---------------------------------------------------------------------------
++
+b. Run websocketd without a proxy
++
+.(Debian, Ubuntu)
+[source,bash]
+---------------------------------------------------------------------------
+sudo -b /usr/local/bin/websocketd --port 7682 --ssl --sslcert=/etc/apache2/ssl/server.crt \
+ --sslkey=/etc/apache2/ssl/server.key /openils/bin/osrf-websocket-stdio
+---------------------------------------------------------------------------
Optional: Using NGINX as a proxy
--------------------------------