a2enmod ssl
echo Return Value = $?
- echo Run websocketd, choosing option a or b, below:
-
- echo 'a. Run websocketd as opensrf (optional)'
-
- echo /usr/local/bin/websocketd --port 7682 /openils/bin/osrf-websocket-stdio &
- echo # Other useful command line parameters include:
- echo # --loglevel debug|trace|access|info|error|fatal
- echo # --maxforks <n>
- echo # --sameorigin=true
- echo # --origin=host[:port][,host[:port]...]
- echo # See https://github.com/joewalnes/websocketd/blob/master/help.go
+ echo Run websocketd, choosing option b:
echo 'b. Run websocketd without a proxy (chosen)'
- /usr/local/bin/websocketd --port 7682 --ssl --sslcert=/etc/apache2/ssl/server.crt \
- --sslkey=/etc/apache2/ssl/server.key /openils/bin/osrf-websocket-stdio &
+ /usr/local/bin/websocketd --port 7682 --ssl --sslcert=/etc/apache2/ssl/server.crt --sslkey=/etc/apache2/ssl/server.key /openils/bin/osrf-websocket-stdio &
+
+ echo Return Value = $?
echo End of configuring websockets =~-._
}