diff options
author | Gabor X Toth <*@tg-x.net> | 2013-11-09 23:12:23 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-11-09 23:12:23 +0000 |
commit | d10808d7f17c5f6f1356c22ef0992965cbaf5ce1 (patch) | |
tree | 2aa315f5a56ee9fa5853201658390a41f38669ce /contrib/logread-ipc.sh | |
parent | 383a9603f7310b3156331a1ed9cc97cc6ed4d3a9 (diff) | |
download | gnunet-d10808d7f17c5f6f1356c22ef0992965cbaf5ce1.tar.gz gnunet-d10808d7f17c5f6f1356c22ef0992965cbaf5ce1.zip |
logread: ipc message monitoring
Diffstat (limited to 'contrib/logread-ipc.sh')
-rwxr-xr-x | contrib/logread-ipc.sh | 5 |
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 | |||
3 | ipc=${1:-/tmp/gnunet-logread-ipc.sock} | ||
4 | test -e "$ipc" || mkfifo "$ipc" | ||
5 | cat "$ipc" | ||