launchd and programmatic access
launchd and programmatic access
- Subject: launchd and programmatic access
- From: Jason Coco <email@hidden>
- Date: Fri, 3 Oct 2008 13:17:26 -0400
Hello all,
I have a question about the launchd API from launch.h...
background:
I have a daemon application that is using launchd but is a cross-
platform application so I can't make it totally launchd aware (it's
written in Java). It has a plist that lives in /Library/LaunchDaemons
and starts up properly without any issues.
My problem is that I have created a preference pane that I want the
console use to be able to use to get status, set some configuration
options and start/stop the service. The pref pane includes a setuid
helper application that does proper authorization, etc. however, I
can't seem to find my job through the launchd API in order to perform
operaitons on it (start/stop, list status, etc). I'm thinking this is
a mach-namespace issue... is there any way to resolve this? To force
the API to use the root namespace??? I really don't want to write tons
of hacks/scripts etc if possible.
I am running on 10.5.5. If any other information is needed to assist,
please let me know.
Thanks, Jason
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden