comparison test.bash @ 43:acbe44bbba22

seems to drop root privs ok now
author carl
date Mon, 05 Jul 2004 22:24:22 -0700
parents ccf2c2651c1d
children 510a511ad554
comparison
equal deleted inserted replaced
42:afcf403709ef 43:acbe44bbba22
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 700 /var/run/dnsbl 43 chmod 750 /var/run/dnsbl
44 chown dnsbl:dnsbl /var/run/dnsbl
44 mv -f $pid $pid.save 45 mv -f $pid $pid.save
45 rm -f /var/run/dnsbl/dnsbl.sock
46 ./dnsbl -d -p local:/var/run/dnsbl/dnsbl.sock 46 ./dnsbl -d -p local:/var/run/dnsbl/dnsbl.sock
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