Deploy meas_web everywhere

This commit is contained in:
Wile E. Coyote 2018-02-17 19:42:28 +00:00
parent e4d27d6494
commit cfe9f78071
5 changed files with 36 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