site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com On May 23, 2006, at 9:42 PM, Peter Seebach wrote: In message <4473B7CE.6000204@cse.unsw.edu.au>, Charles Gray writes: The over-engineering possibilities are endless, but the base app seems trivial. I'm sure there are a few sysadmins and other people with similar problems who's like to see such an app available, too. Yes. And if it were done well it could go into the system, so everyone could use it, and it could be available for startup tasks. The darwinports project has daemondo (by James Berry) which does some of this sort of thing already: "daemondo is a wrapper program that runs daemons. It starts the specified daemon on launch, stops it when given SIGTERM, and restarts it on SIGHUP. It can also watch for transitions in system state, such as a change in network availability or system power state, and restart the daemon on such an event. daemondo works well as an adapter between darwin 8's launchd, and daemons that are normally started via traditional rc.d style scripts or parameters." http://cvs.opendarwin.org//cgi-bin/cvsweb.cgi/proj/darwinports/base/ src/programs/daemondo/ -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ PGP.sig