comparison test.bash @ 59:510a511ad554

Add resolver processes to allow better performance on busy machines
author carl
date Mon, 03 Jan 2005 18:35:50 -0800
parents acbe44bbba22
children 390ed250c5d2
comparison
equal deleted inserted replaced
58:7bb8bbf79285 59:510a511ad554
38 38
39 # start the milter 39 # start the milter
40 pid=/var/run/dnsbl.pid 40 pid=/var/run/dnsbl.pid
41 echo start the milter 41 echo start the milter
42 mkdir -p /var/run/dnsbl 42 mkdir -p /var/run/dnsbl
43 chmod 750 /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 -p local:/var/run/dnsbl/dnsbl.sock 46 ./dnsbl -d -r 54 -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