Update websocketd to version 0.3.1.
authorJason Stephenson <jason@sigio.com>
Wed, 20 Feb 2019 19:56:35 +0000 (14:56 -0500)
committerJason Stephenson <jason@sigio.com>
Wed, 20 Feb 2019 19:56:35 +0000 (14:56 -0500)
Also, redirect websocketd message to /home/opensrf/websocketd.log.
Prior to this, websocketd's messages were going to buildeg.txt.

Signed-off-by: Jason Stephenson <jason@sigio.com>
scripts/postbuild.sh

index a2a69eb..4f73304 100755 (executable)
@@ -185,12 +185,12 @@ fi
 
 # Install and start websocketd
 cd /home/opensrf
-wget https://github.com/joewalnes/websocketd/releases/download/v0.3.0/websocketd-0.3.0-linux_amd64.zip
+wget https://github.com/joewalnes/websocketd/releases/download/v0.3.1/websocketd-0.3.1-linux_amd64.zip
 sudo unzip websocketd-0.3.0-linux_amd64.zip websocketd -d /usr/local/bin/
 sudo -b /usr/local/bin/websocketd --port 7682 --ssl \
      --sslcert=/etc/apache2/ssl/server.crt \
      --sslkey=/etc/apache2/ssl/server.key \
-     --loglevel=error /openils/bin/osrf-websocket-stdio
+     --loglevel=error /openils/bin/osrf-websocket-stdio 2>&1 > /home/opensrf/websocketd.log
 
 # Start Evergreen up!
 osrf_control --localhost --start-all