puppet/modules/rhizo_base/files/etc/sv/meas-web/run
2020-09-17 09:50:32 +00:00

11 lines
233 B
Bash
Executable file

#!/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