aboutsummaryrefslogtreecommitdiff
path: root/contrib/logread-ipc.sh
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-11-09 23:12:23 +0000
committerGabor X Toth <*@tg-x.net>2013-11-09 23:12:23 +0000
commitd10808d7f17c5f6f1356c22ef0992965cbaf5ce1 (patch)
tree2aa315f5a56ee9fa5853201658390a41f38669ce /contrib/logread-ipc.sh
parent383a9603f7310b3156331a1ed9cc97cc6ed4d3a9 (diff)
downloadgnunet-d10808d7f17c5f6f1356c22ef0992965cbaf5ce1.tar.gz
gnunet-d10808d7f17c5f6f1356c22ef0992965cbaf5ce1.zip
logread: ipc message monitoring
Diffstat (limited to 'contrib/logread-ipc.sh')
-rwxr-xr-xcontrib/logread-ipc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/logread-ipc.sh b/contrib/logread-ipc.sh
new file mode 100755
index 000000000..a986c629f
--- /dev/null
+++ b/contrib/logread-ipc.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3ipc=${1:-/tmp/gnunet-logread-ipc.sock}
4test -e "$ipc" || mkfifo "$ipc"
5cat "$ipc"