site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 13 Apr 2007, at 00:26, jmzorko@mac.com wrote: Jonas _______________________________________________ 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... Now, for my next trick, i'm going to make this app into the OSX equivalent of a Win32 service by making it run under launchd. This was really easy to do, but I noticed from the logs that this app writes, that launchd doesn't seem to be nicely shutting it down e.g. I think it just a kill -9. The app catches SIGINT and shuts down nicely when it gets it ... can I make launchd send it? The common way for daemons to be told to quit "in a friendly way" is by sending them a SIGTERM, not a SIGINT (SIGINT usually means "someone pressed ctrl-c"). This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe