10 lines
192 B
Bash
Executable file
10 lines
192 B
Bash
Executable file
#!/bin/bash
|
|
exec 2>&1
|
|
|
|
if [ -a /tmp/json_socket ]; then
|
|
killall ncat
|
|
killall meas_json
|
|
rm -f /tmp/json_socket
|
|
fi
|
|
|
|
exec /etc/sv/meas-json/scr | ncat -l -U /tmp/json_socket -k --send-only
|