Add mempool-logger script and syslog.conf configuration to log to it
This commit is contained in:
7
production/mempool-logger
Executable file
7
production/mempool-logger
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user