#!/bin/bash set -e . tools/functions.sh DATADIR=$(mktemp -d /tmp/OSLOMSG-ZEROMQ.XXXXX) trap "clean_exit $DATADIR" EXIT export TRANSPORT_URL=zmq:// export ZMQ_MATCHMAKER=redis export ZMQ_REDIS_PORT=65123 export ZMQ_IPC_DIR=${DATADIR} cat > ${DATADIR}/zmq.conf < ${DATADIR}/zmq-publisher.log 2>&1 & $*