Radmind / radmind

A suite of Unix command-line tools and a server designed to remotely administer the file systems of multiple Unix machines.
Other
24 stars 15 forks source link

Radmind should interface to socket from launchd #306

Open pdarragh opened 16 years ago

pdarragh commented 16 years ago

since launchd is now the preferred way of launch system services it would be good if radmind could take the socket in a graceful way from the launchd process. I had a launchd.plist that would not work for some reason. Finally found this reference

http://lists.apple.com/archives/Unix-porting/2007/Jan/msg00006.html

It seems that there is some internal magic in that launchd will attach to the port and then pass it on to the program. If you have a "Sockets" section in the XML file radmind will fail telling you that the port is busy and it cannot bind.

If you delete the "sockets" section of the launchd.plist it will work but then you are hiding from launchd the resources it is trying to keep track of. I think it needs to do a checkin with launchd

http://chanson.livejournal.com/179229.html

Original comment by: shannahs

pdarragh commented 15 years ago

If implemented this would need to be a special-case (OS X only) item -- I don't have launchd on FreeBSD...

Original comment by: voretaq7