Getting UserName set in a launchd plist

2011-09-01 Thread Cantor, Scott
I found an old bug open on adding support for additional keywords in the startup plist created by the macport system, but it doesn't appear to have been addressed. The documentation simultaneously says that using start/stop instead of direct exec is less good, but that doesn't really fly if you're

Re: Getting UserName set in a launchd plist

2011-09-01 Thread Cantor, Scott
On 9/1/11 4:31 PM, "Ryan Schmidt" wrote: > >I would say if you're going to be modifying a plist, you should be using >a tool designed to do so, like "defaults" or "PlistBuddy". That really addresses a different issue. Either way, one would have to locate the plist to begin with, and my question w

Re: Getting UserName set in a launchd plist

2011-09-01 Thread Cantor, Scott
On 9/1/11 5:17 PM, "Ryan Schmidt" wrote: > >Sorry, I missed that you were asking about how to locate the plist file >itself. I thought you were talking about the regular expression you used >to locate the key within the plist. My subject wasn't great. The regex is debateable, and maybe doing as J