Use ncat with meas web for multiple clients
This commit is contained in:
parent
a41ded0246
commit
93e5fa8956
5 changed files with 12 additions and 14 deletions
|
@ -1,11 +1,3 @@
|
|||
#!/bin/bash
|
||||
exec 2>&1
|
||||
|
||||
if [ ! -p /tmp/json_pipe ] ; then
|
||||
if [ -f /tmp/json_pipe ] ; then
|
||||
rm -f /tmp/json_pipe
|
||||
fi
|
||||
mkfifo /tmp/json_pipe
|
||||
fi
|
||||
|
||||
exec /usr/bin/websocketd --staticdir=/var/www/meas --port=8080 /etc/sv/meas-web/scr
|
||||
exec /usr/bin/websocketd --staticdir=/var/www/meas --port=8080 ncat -U /tmp/json_socket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue