comparison test.bash @ 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 b7449114ebb0
comparison
equal deleted inserted replaced
59:510a511ad554 60:390ed250c5d2
41 echo start the milter 41 echo start the milter
42 mkdir -p /var/run/dnsbl 42 mkdir -p /var/run/dnsbl
43 chmod 700 /var/run/dnsbl 43 chmod 700 /var/run/dnsbl
44 chown dnsbl:dnsbl /var/run/dnsbl 44 chown dnsbl:dnsbl /var/run/dnsbl
45 mv -f $pid $pid.save 45 mv -f $pid $pid.save
46 ./dnsbl -d -r 54 -p local:/var/run/dnsbl/dnsbl.sock2 46 ./dnsbl -d -r /var/run/dnsbl/dnsbl.resolver.sock2 -p local:/var/run/dnsbl/dnsbl.sock2
47 sleep 5 47 sleep 5
48 P2=`cat $pid` 48 P2=`cat $pid`
49 mv -f $pid.save $pid 49 mv -f $pid.save $pid
50 echo started dnsbl milter as process $P2 50 echo started dnsbl milter as process $P2
51 51