I'm guessing the endpoint application's propert list file should be installed in
/Library/LaunchDaemons
What about the actual endpoint program? I was leaning towards
/usr/libexec
but I haven't been able to find any guidance online for 3rd party daemon locations on the Mac.
Opps, title should be "Endpoint directory location", not "extensions".
I fixed that for (hope you don’t mind :-).
I haven't been able to find any guidance online for 3rd party daemon locations on the Mac.
The only official guidance I’ve seen is in the
hier
man page. Based on that, I generally recommend that you create a directory called
/usr/local/***
, where
***
is some name that identifies your company or your product, and install everything within that.
That assumes that you want the item ‘hidden’. If you want the user to be able to see your stuff, use
/Library/Application Support/***
.
Warning Make sure that the directory and all of its parent directories and only writable by root. Specifically, do not place privileged code inside an app bundle because
/Applications/
is writable by admin.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"