Re: Start and stop a privileged service programmatically
Re: Start and stop a privileged service programmatically
- Subject: Re: Start and stop a privileged service programmatically
- From: Dave Zarzycki <email@hidden>
- Date: Mon, 10 Jul 2006 10:16:47 -0700
On Jul 8, 2006, at 12:45 PM, Nicola Vitacolonna wrote:
2) Is launchd to be preferred over other methods in this case? And
is it the way to go in general?
The preferred solution does not involve launchctl or programmatic
control whatsoever.
In Apple's idealized view of the universe, your VPN daemon would be
launch on demand via some IPC based mechanism. This has the nice side
effect of implicit correctness. From your client's perspective, the
daemon is virtually running all the time.
The only questions that remain are:
1) Do you have the source code to the VPN daemon and client?
2) Do you have the time to make some changes to the code?
davez
_______________________________________________
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