mempool/production/mempool-logger

8 lines
172 B
Plaintext
Raw Normal View History

#!/bin/sh
trap "" PIPE
while read input;do
if [ ! -z "${input}" ];then
echo "\`\`\`${input}\`\`\`" | /usr/local/bin/keybase chat send --nonblock mempool.syslog
fi
done