Modified ebuild to let ldapdns work with normal init instead of daemontools.
Created attachment 160591 [details] ldapdns-2.06-r1.ebuild
Created attachment 160592 [details] initd file
Created attachment 160593 [details] confd file
Created attachment 160645 [details] initd file Added --pidfile to init script. (Needed if someone wants to monitor ldapdns with app-admin/monit.)
Bad: If the ldap server is not avaible for a second (restart for example) ldapdns stops answering dns queries. It needs a restart. Last message is handler 0 was hung up on, restarting It's not possible to use monit to monitor ldapdns. The dns test expects something what is not provided by ldapdns. Only by bind, it seems, see: http://www.mail-archive.com/monit-general@nongnu.org/msg01445.html To reduce the test to udp connect on port 53 doesn't solve the problem because ldapdns is still there. Similar to MyDNS, see: http://www.mail-archive.com/monit-general@nongnu.org/msg01469.html bad workaround: in crontab: */5 * * * * nslookup name localhost|grep name > /dev/null||/etc/init.d/ldapdns restart
Removed from main tree.