Add Meas-Web Installation

This commit is contained in:
Keith Whyte 2018-03-01 17:57:15 +00:00
parent a9319f3d90
commit 1f1db0f869
3 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
LOG_FOLDER=/var/log/meas-web
mkdir -p $LOG_FOLDER
exec svlogd -tt $LOG_FOLDER

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec /usr/bin/websocketd --staticdir=/var/www/meas --port=8080 /usr/bin/stdbuf -oL /usr/local/bin/meas_json