DCC digest, Vol 1 #796 - 8 msgs

PeakPeak Customer Service support@peakpeak.com
Mon Jan 23 03:09:57 UTC 2006


Hi:

We just got our DCC server hooked into the Matrix and it seems to be working
well.

There have been a couple of unexpected exits of dcc.  I need a script that
restarts it.

I use something like this on BIND but it doesn't seem to work too well for
dcc, any ideas?

Thanks,
Chris

#!/bin/sh
#
# start and keep named running
#
# based on an idea from
/usr/src/redhat/SOURCES/src/conf/recursive/keep-running
#

trap "" 1

#sleep 60

while :; do

      #  /var/dcc/libexec/rcDCC start
        /var/dcc/libexec/dccd -i1350 -n someplace.com -u100
        /bin/logger -p emerg "dcc restart"
        mail -s 'dcc restarted!!' some pager@someplace.com < /dev/null
        sleep 62
done

exit





More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.