Modified ebuild to let ldapdns work with normal init instead of daemontools.
Created attachment 160591 [details]
Created attachment 160592 [details]
Created attachment 160593 [details]
Created attachment 160645 [details]
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:
To reduce the test to udp connect on port 53 doesn't solve the problem because ldapdns is still there. Similar to MyDNS, see:
bad workaround: in crontab:
*/5 * * * * nslookup name localhost|grep name > /dev/null||/etc/init.d/ldapdns restart
Removed from main tree.