First draft of the pub/sub notifier

This commit is contained in:
kexkey
2019-05-17 18:29:06 -04:00
committed by kexkey
parent 2c3b28bc84
commit ed71a2ed8f
13 changed files with 231 additions and 19 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
trace()
{
if [ -n "${TRACING}" ]; then
echo "$(date -Is) $$ ${1}" 1>&2
fi
}
trace_rc()
{
if [ -n "${TRACING}" ]; then
echo "$(date -Is) $$ Last return code: ${1}" 1>&2
fi
}