Mercurial > dnsbl
comparison dnsbl.rc @ 60:390ed250c5d2 stable-4-1
use local unix domain socket for resolver process communication
author | carl |
---|---|
date | Thu, 06 Jan 2005 11:35:38 -0800 |
parents | 510a511ad554 |
children | c1280cd3e248 |
comparison
equal
deleted
inserted
replaced
59:510a511ad554 | 60:390ed250c5d2 |
---|---|
20 start) | 20 start) |
21 # Start daemons. | 21 # Start daemons. |
22 echo -n "Starting dnsbl-milter: " | 22 echo -n "Starting dnsbl-milter: " |
23 if [ ! -f /var/lock/subsys/dnsbl ]; then | 23 if [ ! -f /var/lock/subsys/dnsbl ]; then |
24 cd /etc/dnsbl # conf file is here | 24 cd /etc/dnsbl # conf file is here |
25 /usr/sbin/dnsbl -d -r 54 -p local:/var/run/dnsbl/dnsbl.sock | 25 /usr/sbin/dnsbl -d -r /var/run/dnsbl/dnsbl.resolver.sock -p local:/var/run/dnsbl/dnsbl.sock |
26 RETVAL=$? | 26 RETVAL=$? |
27 pid=`pidof -s /usr/sbin/dnsbl` | 27 pid=`pidof -s /usr/sbin/dnsbl` |
28 if [ $pid ] | 28 if [ $pid ] |
29 then | 29 then |
30 success "Starting dnsbl milter:" | 30 success "Starting dnsbl milter:" |