Mercurial > dnsbl
diff dnsbl.rc @ 42:afcf403709ef
updates for 3.2, try to drop root privileges
author | carl |
---|---|
date | Mon, 05 Jul 2004 13:09:44 -0700 |
parents | d95af8129dfa |
children | 6b79046b18c2 |
line wrap: on
line diff
--- a/dnsbl.rc Mon Jul 05 10:52:02 2004 -0700 +++ b/dnsbl.rc Mon Jul 05 13:09:44 2004 -0700 @@ -22,7 +22,8 @@ echo -n "Starting dnsbl-milter: " if [ ! -f /var/lock/subsys/dnsbl ]; then cd /etc/dnsbl # conf file is here - su -l dnsbl -s /bin/sh -c "/usr/sbin/dnsbl -d -p local:/var/run/dnsbl/dnsbl.sock " + #su -l dnsbl -s /bin/sh -c "/usr/sbin/dnsbl -d -p local:/var/run/dnsbl.sock " + /usr/sbin/dnsbl -d -p local:/var/run/dnsbl.sock RETVAL=$? pid=`pidof -s /usr/sbin/dnsbl` if [ $pid ]