#!/bin/bash

daemon --running --name gutenbach-queue -F /tmp/gutenbach/gutenbach-queue.pid
if [ "$?" == 0 ]; then
    setterm -blank 0
    watch -t -n 1 cat /tmp/gutenbach/current_queue
else
    echo "The gutenbach queue daemon is not running.  Please start it at /etc/init.d/gutenbach-queue."
fi
