site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707) Scenario: The preference pane will normally be installed in /Library/PreferencePanes. The daemon scripts will normally be installed in /Library/LaunchDaemons. Any ideas? -- Andrew White _______________________________________________ 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... I have a preference pane that is responsible for controlling how a couple of different services on the system run. The services use launchd to control them (and start them at boot time). Here's the question - where is the right place to install the posix tools / applications that those daemons run. I'd thought to put them in the PreferencePane bundle, but that means that the launchd scripts need to be able to find them at boot, and I'm not sure that I want to assume where the preference pane bundle is installed (in case the user moves it?). Where is the correct place? And how do I make it easy for the user to uninstall my app - what happens to the launchd scripts if my apps are thrown into the trash? Since these apps might (will?) run as root, I certainly don't want the scripts to pull some random app from the user's path. Similarly, if I want to put the apps in a chroot jail, where do I put the root of this jail? This email sent to site_archiver@lists.apple.com