Re: Using launchctl load
Re: Using launchctl load
- Subject: Re: Using launchctl load
- From: Rakesh Singhal <email@hidden>
- Date: Wed, 4 Feb 2009 13:55:56 +0530
Thanks. I am using carbon farmework that is not daemon safe and may be
due to this I am facing problem. Still, I am confused about one thing.
I can start the daemon in 2 different ways, one is using "launchctl
load" command and another is rebooting the system.
1. When I use "launchctl load" command, it works fine but if I logout
then daemon process first gets the quit event and then it gets killed.
2. When I reboot the system and if I logout it does not get any
signals/event to quit/kill. It works fine.
I know, Marc has already written about it that In one case your daemon
may be connecting to the bootstrap window server service and in the
other case connecting to the login session's window server service.
System is 10.4.11 ppc.
Is it possible to make it work either without removing carbon
framework or without splitting in two processes? Please advice me.
Regards
rksinghal
On Wed, Feb 4, 2009 at 4:40 AM, Shawn Erickson <email@hidden> wrote:
> On Tue, Feb 3, 2009 at 9:37 AM, Rakesh Singhal <email@hidden> wrote:
>> I am using carbon framework which is not daemon-safe, others are daemon safe.
>
> You cannot reliably run this process as a launch daemon as a result of
> using Carbon. You will have to run it as an launch agent for aqua
> sessions (or login item to support "legacy" OS versions).... or be
> rewritten to use only daemon safe frameworks/libraries.
>
> -Shawn
>
_______________________________________________
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