summaryrefslogtreecommitdiff
path: root/src/hub/test-import
blob: d1a5044e152a10427f895ddffe389cdb5a6574f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
echo pipe: import sample.json
echo ------------------------

[ -f ../../dat/sample-access.json ] || zcat ../../dat/sample-accesslog.json.gz > ../../dat/sample-accesslog.json

socat file:../../dat/sample-accesslog.json,rdonly unix-client:/run/sfive/pipe

echo '\n\ndone'