Re: How to make a LaunchAgent
Re: How to make a LaunchAgent
- Subject: Re: How to make a LaunchAgent
- From: Kevin Meaney <email@hidden>
- Date: Mon, 11 Aug 2014 11:53:54 +0100
> You’re not supposed to start it - launchd/XPC services is supposed to start it for you. You’re supposed to register it as a LaunchAgent/Daemon, creating the launchd.plist file and when you need the service, it starts and when you don’t, it’s stopped again. I keep reading this is all part of the security of XPC, only the system can kick one off.
All true, but the documentation is poor. So I blogged my experience, and created a minimal Xcode project (Xcode 4.6) for a launch agent. All you should need to update is your Team ID.
http://blog.yvs.eu.com/2013/07/launchagents-and-xpc/
and
https://github.com/SheffieldKevin/LaunchAgent/
Kevin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden